Skip to content

Commit

Permalink
Update pythonapp.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
smaragden authored Jun 29, 2020
1 parent 2785992 commit 3c23f22
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/pythonapp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,12 @@ jobs:
PYTHONPATH: source/
- name: Build dists
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
run: python setup.py sdist bdist_wheel
run: |
pip install wheel
python setup.py sdist bdist_wheel
- name: Publish a Python distribution to PyPI
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@master
with:
user: __token__
password: ${{ secrets.PYPI_TOKEN }}
password: ${{ secrets.PYPI_TOKEN }}

0 comments on commit 3c23f22

Please sign in to comment.