Skip to content

Commit

Permalink
Only publish pypi on tag push
Browse files Browse the repository at this point in the history
  • Loading branch information
Géry Casiez committed Dec 14, 2024
1 parent 8c1c9ae commit 3d7a974
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pythonBinding.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ jobs:
python/
- name: Publish Python 🐍 distribution 📦 to PyPI
# if: startsWith(github.ref, 'refs/tags/') # only publish to PyPI on tag pushes
if: startsWith(github.ref, 'refs/tags/') # only publish to PyPI on tag pushes
env:
TWINE_USERNAME: "__token__"
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
Expand Down

0 comments on commit 3d7a974

Please sign in to comment.