We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d38c027 commit a6dd6caCopy full SHA for a6dd6ca
.github/workflows/python-package.yml
@@ -58,10 +58,10 @@ jobs:
58
python -m pip install --upgrade pip
59
pip install setuptools wheel twine
60
- name: Build and publish on PyPi
61
+ if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
62
env:
63
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
64
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
65
run: |
- if: (github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
66
python setup.py sdist bdist_wheel
67
twine upload dist/*
0 commit comments