File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ name: Build
33on :
44 push :
55 pull_request :
6- branches : [ 'master','release/16.0.0-SNAPSHOT ' ]
6+ branches : [ 'sustaining/15.2.x','master ' ]
77
88jobs :
99 build-maven :
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ name: Package/Deploy
33on :
44 workflow_dispatch :
55 workflow_run :
6- branches : [ 'master','release/16.0.0-SNAPSHOT ' ]
6+ branches : [ 'sustaining/15.2.x','master ' ]
77 workflows : ["Build","Release"]
88 types : [completed]
99jobs :
Original file line number Diff line number Diff line change 2626 - name : Set up Java for publishing to Maven Central Repository OSS
2727 uses : actions/setup-java@v4
2828 with :
29- java-version : ' 11'
29+ java-version : ${{ github.event.workflow_run.head_branch == 'sustaining/15.2.x' && '8' || ' 11'}}
3030 distribution : ' zulu'
3131 server-id : ossrh
3232 server-username : MAVEN_USERNAME
You can’t perform that action at this time.
0 commit comments