Skip to content

Commit c950886

Browse files
committed
ci: allow workflow dispatch to trigger release
1 parent d3b5a81 commit c950886

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,9 @@ jobs:
3838
needs:
3939
- pure-python-wheel-and-sdist
4040
runs-on: ubuntu-latest
41-
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
41+
if: |
42+
(github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')) ||
43+
(github.event_name == 'workflow_dispatch' && startsWith(github.event.ref, 'refs/tags'))
4244
4345
steps:
4446
- uses: actions/download-artifact@v2

0 commit comments

Comments
 (0)