Skip to content

Commit

Permalink
fix: add a manual trigger for python release
Browse files Browse the repository at this point in the history
Signed-off-by: zongz <[email protected]>
  • Loading branch information
zong-zhe committed Dec 9, 2024
1 parent 8d9c177 commit 4ca814c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/python-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ jobs:
release:
name: Release
runs-on: ubuntu-latest
if: "startsWith(github.ref, 'refs/tags/')"
if: "startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch'"
permissions:
contents: read
id-token: write
Expand All @@ -114,4 +114,4 @@ jobs:
with:
password: ${{ secrets.PYPI_API_TOKEN }}
skip-existing: true
packages-dir: python/dist
packages-dir: python/dist

0 comments on commit 4ca814c

Please sign in to comment.