Skip to content

Commit b312ad2

Browse files
committed
Add workflow_dispatch
1 parent 6ceb8df commit b312ad2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/release.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ on:
1212
- master
1313
schedule:
1414
- cron: '0 0 * * *'
15+
workflow_dispatch:
1516

1617
jobs:
1718
release-workflow:
@@ -23,7 +24,7 @@ jobs:
2324
name: release
2425
needs: [ "release-workflow" ]
2526
runs-on: ubuntu-latest
26-
if: ${{ startsWith(github.ref, 'refs/tags/') }}
27+
if: ${{ startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch' }}
2728
steps:
2829
- name: Checkout code
2930
uses: actions/checkout@v4

0 commit comments

Comments
 (0)