File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -19,12 +19,11 @@ permissions:
19
19
20
20
jobs :
21
21
build :
22
- runs-on : ${{ matrix.os }}
22
+ runs-on : ' ubuntu-24.04 '
23
23
strategy :
24
24
fail-fast : false
25
25
matrix :
26
26
java_version : ['8', '17', '21']
27
- os : ['ubuntu-22.04']
28
27
env :
29
28
JAVA_OPTS : " -XX:+TieredCompilation -XX:TieredStopAtLevel=1"
30
29
steps :
45
44
run : ./mvnw -B -q -ff -ntp verify
46
45
- name : Extract project Maven version
47
46
id : projectVersion
48
- run : echo "version=$(./mvnw org.apache.maven.plugins:maven-help-plugin:3.3.0 :evaluate -DforceStdout -Dexpression=project.version -q)" >> $GITHUB_OUTPUT
47
+ run : echo "version=$(./mvnw org.apache.maven.plugins:maven-help-plugin:3.5.1 :evaluate -DforceStdout -Dexpression=project.version -q)" >> $GITHUB_OUTPUT
49
48
- name : Deploy snapshot
50
- if : github.event_name != 'pull_request' && matrix.java_version == '8' && endsWith(steps.projectVersion.outputs.version, '-SNAPSHOT')
49
+ if : ${{ github.event_name != 'pull_request' && matrix.java_version == '8' && endsWith(steps.projectVersion.outputs.version, '-SNAPSHOT') }}
51
50
env :
52
51
CI_DEPLOY_USERNAME : ${{ secrets.CI_DEPLOY_USERNAME }}
53
52
CI_DEPLOY_PASSWORD : ${{ secrets.CI_DEPLOY_PASSWORD }}
You can’t perform that action at this time.
0 commit comments