Skip to content

Commit 9d60c24

Browse files
authored
Update pythonpublish.yml
1 parent 8dbc67f commit 9d60c24

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/pythonpublish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
python -m pip install --upgrade pip
1919
pip install setuptools wheel twine
2020
- name: Build and publish
21-
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
21+
if: startsWith(github.event.ref, 'refs/tags')
2222
env:
2323
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
2424
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}

0 commit comments

Comments
 (0)