Skip to content

Commit 540ae7e

Browse files
committed
Remove branch trigger
1 parent c2913aa commit 540ae7e

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

.github/workflows/publish.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,12 @@ name: Publish Release
22

33
on:
44
push:
5-
branches:
6-
- java-21
75
tags:
86
- '[0-9]*.[0-9]*.[0-9]*'
97

108
jobs:
119
publish:
10+
if: github.ref_type == 'tag' && startsWith(github.ref_name, '21') && github.event.base_ref == 'refs/heads/java-21'
1211
uses: sava-software/sava-build/.github/workflows/publish.yml@main
1312
secrets: inherit
1413
permissions:

0 commit comments

Comments
 (0)