Skip to content

Commit

Permalink
Fix checking of event name when release
Browse files Browse the repository at this point in the history
  • Loading branch information
avvertix committed Sep 17, 2024
1 parent 29bc8e8 commit 7c8b85a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,6 @@ jobs:

- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
if: github.event_name == 'release'
with:
print-hash: true

0 comments on commit 7c8b85a

Please sign in to comment.