File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -3,10 +3,10 @@ name: Java CI with Maven
33on :
44 pull_request :
55 branches :
6- - master
6+ - Roche-CSI-main
77 push :
88 branches :
9- - master
9+ - Roche-CSI-main
1010 workflow_dispatch :
1111jobs :
1212 build :
2323 java-version : 8
2424 cache : maven
2525 - name : Build with Maven
26- # Run maven deploy only on push or workflow dispatch to master
27- run : ./mvnw -s "${GITHUB_WORKSPACE}/.github/workflows/maven-settings.xml" -B ${{ (((github.event_name == 'push') || (github.event_name == 'workflow_dispatch')) && (github.ref == 'refs/heads/master ')) && 'deploy' || 'package' }} --file pom.xml -P release -Dgpg.skip
26+ # Run maven deploy only on push or workflow dispatch to Roche-CSI-main
27+ run : mvn -s "${GITHUB_WORKSPACE}/.github/workflows/maven-settings.xml" -B ${{ (((github.event_name == 'push') || (github.event_name == 'workflow_dispatch')) && (github.ref == 'refs/heads/Roche-CSI-main ')) && 'deploy' || 'package' }} --file pom.xml -P release -Dgpg.skip
2828 env :
2929 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments