File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change 1313jobs :
1414 build :
1515 runs-on : ubuntu-latest
16+ permissions :
17+ contents : read
18+ packages : write
1619 steps :
17- - uses : actions/checkout@v3
20+ - uses : actions/checkout@v4
1821
1922 - name : Check release tag match # ... and fail fast if they do not
2023 run : diff <(echo "${{ github.ref_name }}") <(echo "$(mvn -B help:evaluate -Dexpression=project.version -q -DforceStdout)")
2124
2225 - name : Set up JDK 11
23- uses : actions/setup-java@v3
26+ uses : actions/setup-java@v4
2427 with :
2528 java-version : ' 11'
26- distribution : ' adopt '
29+ distribution : ' temurin '
2730 cache : maven
2831
2932 - name : Build
@@ -34,10 +37,10 @@ jobs:
3437 mvn $MAVEN_CLI_OPTS $JAVA_ADDITIONAL_OPTS test integration-test
3538
3639 - name : Set up Apache Maven Central
37- uses : actions/setup-java@v3
40+ uses : actions/setup-java@v4
3841 with :
3942 java-version : ' 11'
40- distribution : ' adopt '
43+ distribution : ' temurin '
4144 server-id : ossrh
4245 server-username : SONATYPE_USERNAME
4346 server-password : SONATYPE_PASSWORD
You can’t perform that action at this time.
0 commit comments