Skip to content

Commit

Permalink
Add PyPI github action. (#87)
Browse files Browse the repository at this point in the history
  • Loading branch information
jagmoreira authored and sshookman committed Oct 2, 2019
1 parent bd9d7ac commit 3efff8f
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 2 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/pypi-upload.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Upload to PyPI

# Trigger the workflow on every release
on:
release:
types: [created]

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: '3.6'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install setuptools wheel
- name: Build distribution
run: python setup.py sdist bdist_wheel
- name: Publish to PYPI
uses: pypa/gh-action-pypi-publish@master
with:
user: ${{ secrets.PYPI_USERNAME }}
password: ${{ secrets.PYPI_PASSWORD }}
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,14 @@ Documenting All Changes to the Skelebot Project

---

## v1.6.2
#### Changed
- **CI/CD** | Upload skelebot releases to PyPI via GitHub Action.

---

## v1.6.1
#### Merged: 2019-10-02
#### Changed
- **README** | Properly centering the project title logo image with GitHub specific markdown html

Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.6.1
1.6.2
2 changes: 1 addition & 1 deletion test/test_systems_parsing_skeleParser.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def test_description(self):
-----------------------------------
Version: 0.1.0
Environment: test
Skelebot Version: 1.6.1
Skelebot Version: 1.6.2
-----------------------------------"""

self.assertEqual(description, expectedDescription)
Expand Down

0 comments on commit 3efff8f

Please sign in to comment.