Skip to content

Commit

Permalink
Upload to PyPI when it's a new version
Browse files Browse the repository at this point in the history
  • Loading branch information
msoos authored Feb 22, 2023
1 parent 37b40a3 commit 818591d
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/python-package-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,8 @@ jobs:
path: |
dist/*-manylinux*.whl
dist/*.tar.gz
# - name: Publish wheels to PyPI
# env:
# TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
# TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
# run: |
# twine upload dist/*-manylinux*.whl
- name: Publish package
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}

0 comments on commit 818591d

Please sign in to comment.