Skip to content

Commit

Permalink
Update create_release.yml
Browse files Browse the repository at this point in the history
Signed-off-by: Andreas Fehlner <[email protected]>
  • Loading branch information
andife authored Nov 29, 2024
1 parent 9c30d15 commit f40611f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/create_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ jobs:
merge-multiple: true

- name: Publish releasebuild to pypi
if: (github.repository_owner == 'onnx') && startsWith(github.ref, 'rel-') && (github.event_name == 'release')
if: (github.repository_owner == 'onnx') && startsWith(github.ref, 'rel-') && (github.event_name == 'release') && startsWith(github.ref, 'refs/tags/')
uses: pypa/gh-action-pypi-publish@15c56dba361d8335944d31a2ecd17d700fc7bcbc
with:
repository-url: https://upload.pypi.org/legacy/
Expand Down

0 comments on commit f40611f

Please sign in to comment.