File tree 1 file changed +5
-10
lines changed
1 file changed +5
-10
lines changed Original file line number Diff line number Diff line change @@ -22,26 +22,21 @@ jobs:
22
22
strategy :
23
23
fail-fast : false
24
24
matrix :
25
- java_version : ['8', '11', '14 ']
25
+ java_version : ['8', '11', '17 ']
26
26
os : ['ubuntu-20.04']
27
27
env :
28
28
JAVA_OPTS : " -XX:+TieredCompilation -XX:TieredStopAtLevel=1"
29
29
steps :
30
- - uses : actions/checkout@v2
30
+ - uses : actions/checkout@v3
31
31
- name : Set up JDK
32
- uses : actions/setup-java@v2
32
+ uses : actions/setup-java@v3
33
33
with :
34
- distribution : " adopt "
34
+ distribution : ' temurin '
35
35
java-version : ${{ matrix.java_version }}
36
+ cache : ' maven'
36
37
server-id : sonatype-nexus-snapshots
37
38
server-username : CI_DEPLOY_USERNAME
38
39
server-password : CI_DEPLOY_PASSWORD
39
-
40
- with :
41
- path : ~/.m2/repository
42
- key : ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
43
- restore-keys : |
44
- ${{ runner.os }}-maven-
45
40
- name : Build
46
41
run : ./mvnw -V -B -ff -ntp verify
47
42
- name : Deploy snapshot
You can’t perform that action at this time.
0 commit comments