Skip to content

Commit ebaa7d7

Browse files
committed
make publish workflow able to be dispatched manually
1 parent 9a91bb6 commit ebaa7d7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/build-and-publish.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
java-version: ''
4343

4444
publish:
45-
if: ${{ github.event_name == 'push' && contains(github.ref, 'release/') }}
45+
if: ${{ github.event_name == 'workflow_dispatch' || (github.event_name == 'push' && contains(github.ref, 'release/')) }}
4646
runs-on: self-hosted
4747
needs:
4848
- build-and-test

0 commit comments

Comments
 (0)