File tree Expand file tree Collapse file tree 1 file changed +5
-10
lines changed Expand file tree Collapse file tree 1 file changed +5
-10
lines changed Original file line number Diff line number Diff line change @@ -24,29 +24,24 @@ jobs:
24
24
strategy :
25
25
fail-fast : false
26
26
matrix :
27
- java_version : ['8', '11', '14 ']
27
+ java_version : ['8', '11', '17 ']
28
28
os : ['ubuntu-20.04']
29
29
env :
30
30
JAVA_OPTS : " -XX:+TieredCompilation -XX:TieredStopAtLevel=1"
31
31
steps :
32
- - uses : actions/checkout@v2
32
+ - uses : actions/checkout@v3
33
33
- name : Set up JDK
34
- uses : actions/setup-java@v2
34
+ uses : actions/setup-java@v3
35
35
with :
36
- distribution : " adopt "
36
+ distribution : ' temurin '
37
37
java-version : ${{ matrix.java_version }}
38
+ cache : ' maven'
38
39
server-id : sonatype-nexus-snapshots
39
40
server-username : CI_DEPLOY_USERNAME
40
41
server-password : CI_DEPLOY_PASSWORD
41
42
# See https://github.com/actions/setup-java/blob/v2/docs/advanced-usage.md#Publishing-using-Apache-Maven
42
43
# gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }} # Value of the GPG private key to import
43
44
# gpg-passphrase: MAVEN_GPG_PASSPHRASE # env variable for GPG private key passphrase
44
-
45
- with :
46
- path : ~/.m2/repository
47
- key : ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
48
- restore-keys : |
49
- ${{ runner.os }}-maven-
50
45
- name : Build
51
46
run : ./mvnw -V -B -ff -ntp verify
52
47
- name : Deploy snapshot
You can’t perform that action at this time.
0 commit comments