Skip to content

Commit

Permalink
prevent tags from publishing without creating releases
Browse files Browse the repository at this point in the history
  • Loading branch information
skshetry authored Dec 7, 2023
1 parent ea9a09b commit 9bc974c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@ jobs:
--outdir dist/ .
- name: Publish
if: startsWith(github.ref, 'refs/tags')
if: github.event.action == 'published'
uses: pypa/gh-action-pypi-publish@release/v1

0 comments on commit 9bc974c

Please sign in to comment.