Skip to content

Commit 6a99d95

Browse files
authored
fix ci: release (#5037)
1 parent e2c404b commit 6a99d95

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/release-pypi.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ jobs:
2929
ls -lh dist/
3030
3131
- name: Upload to release
32+
if: startsWith(github.event.ref, 'refs/tags') || github.event_name == 'release'
3233
uses: svenstaro/upload-release-action@v2
3334
with:
3435
repo_token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)