From 7a225317264faab58c1b95e3267e78bb10a1519a Mon Sep 17 00:00:00 2001 From: CSY-ModelCloud Date: Wed, 30 Oct 2024 12:38:08 +0800 Subject: [PATCH] [CI] fix miss release check --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b7e9627a..daa02cce 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 }}