Skip to content

Commit

Permalink
[CI] fix miss release check
Browse files Browse the repository at this point in the history
  • Loading branch information
CSY-ModelCloud authored Oct 30, 2024
1 parent 309e2c2 commit 7a22531
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 @@ -179,7 +179,7 @@ jobs:

- name: Upload binaries to release
uses: svenstaro/upload-release-action@v2
if: github.event_name == 'release' && !cancelled()
if: (github.event_name == 'release' || github.event.inputs.upload_pypi == 'true') && !cancelled()
with:
repo_name: ${{ env.repo }}
tag: ${{ env.ref }}
Expand Down

0 comments on commit 7a22531

Please sign in to comment.