File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: Build and Deploy Snapshot
22on :
33 push :
44 branches :
5- - master
5+ - 2.x
66 - " 2.18"
77 pull_request :
88
1919 env :
2020 JAVA_OPTS : " -XX:+TieredCompilation -XX:TieredStopAtLevel=1"
2121 steps :
22- - uses : actions/checkout@v3
22+ - uses : actions/checkout@v4.2.2
2323 - name : Set up JDK
24- uses : actions/setup-java@v3
24+ uses : actions/setup-java@v4.7.0
2525 with :
2626 distribution : ' temurin'
2727 java-version : ${{ matrix.java_version }}
3636 run : ./mvnw -B -q -ff -ntp verify
3737 - name : Extract project Maven version
3838 id : projectVersion
39- run : echo "version=$(./mvnw org.apache.maven.plugins:maven-help-plugin:3.3.0 :evaluate -DforceStdout -Dexpression=project.version -q)" >> $GITHUB_OUTPUT
39+ run : echo "version=$(./mvnw org.apache.maven.plugins:maven-help-plugin:3.5.1 :evaluate -DforceStdout -Dexpression=project.version -q)" >> $GITHUB_OUTPUT
4040 - name : Deploy snapshot
41- if : github.event_name != 'pull_request' && matrix.java_version == '8' && endsWith(steps.projectVersion.outputs.version, '-SNAPSHOT')
41+ if : ${{ github.event_name != 'pull_request' && matrix.java_version == '8' && endsWith(steps.projectVersion.outputs.version, '-SNAPSHOT') }}
4242 env :
4343 CI_DEPLOY_USERNAME : ${{ secrets.CI_DEPLOY_USERNAME }}
4444 CI_DEPLOY_PASSWORD : ${{ secrets.CI_DEPLOY_PASSWORD }}
You can’t perform that action at this time.
0 commit comments