File tree 1 file changed +8
-5
lines changed
1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change 13
13
jobs :
14
14
build :
15
15
runs-on : ubuntu-latest
16
+ permissions :
17
+ contents : read
18
+ packages : write
16
19
steps :
17
- - uses : actions/checkout@v3
20
+ - uses : actions/checkout@v4
18
21
19
22
- name : Check release tag match # ... and fail fast if they do not
20
23
run : diff <(echo "${{ github.ref_name }}") <(echo "$(mvn -B help:evaluate -Dexpression=project.version -q -DforceStdout)")
21
24
22
25
- name : Set up JDK 11
23
- uses : actions/setup-java@v3
26
+ uses : actions/setup-java@v4
24
27
with :
25
28
java-version : ' 11'
26
- distribution : ' adopt '
29
+ distribution : ' temurin '
27
30
cache : maven
28
31
29
32
- name : Build
@@ -34,10 +37,10 @@ jobs:
34
37
mvn $MAVEN_CLI_OPTS $JAVA_ADDITIONAL_OPTS test integration-test
35
38
36
39
- name : Set up Apache Maven Central
37
- uses : actions/setup-java@v3
40
+ uses : actions/setup-java@v4
38
41
with :
39
42
java-version : ' 11'
40
- distribution : ' adopt '
43
+ distribution : ' temurin '
41
44
server-id : ossrh
42
45
server-username : SONATYPE_USERNAME
43
46
server-password : SONATYPE_PASSWORD
You can’t perform that action at this time.
0 commit comments