Skip to content

Commit 4ca814c

Browse files
committed
fix: add a manual trigger for python release
Signed-off-by: zongz <[email protected]>
1 parent 8d9c177 commit 4ca814c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/python-test.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ jobs:
9999
release:
100100
name: Release
101101
runs-on: ubuntu-latest
102-
if: "startsWith(github.ref, 'refs/tags/')"
102+
if: "startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch'"
103103
permissions:
104104
contents: read
105105
id-token: write
@@ -114,4 +114,4 @@ jobs:
114114
with:
115115
password: ${{ secrets.PYPI_API_TOKEN }}
116116
skip-existing: true
117-
packages-dir: python/dist
117+
packages-dir: python/dist

0 commit comments

Comments
 (0)