File tree Expand file tree Collapse file tree 2 files changed +2
-16
lines changed Expand file tree Collapse file tree 2 files changed +2
-16
lines changed Original file line number Diff line number Diff line change @@ -28,18 +28,11 @@ jobs:
28
28
with :
29
29
distribution : ' zulu'
30
30
java-version : ${{ matrix.java-version }}
31
+ cache : " maven"
31
32
server-id : sonatype
32
33
server-username : MAVEN_USERNAME
33
34
server-password : MAVEN_PASSWORD
34
35
35
- - name : Cache .m2
36
- uses : actions/cache@v2.1.7
37
- with :
38
- path : ~/.m2/repository
39
- key : ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
40
- restore-keys : |
41
- ${{ runner.os }}-maven
42
-
43
36
- name : Regular Build
44
37
if : ${{ !matrix.sonar-enabled }}
45
38
run : |
Original file line number Diff line number Diff line change @@ -25,18 +25,11 @@ jobs:
25
25
with :
26
26
distribution : ' zulu'
27
27
java-version : ${{ matrix.java-version }}
28
+ cache : " maven"
28
29
server-id : sonatype
29
30
server-username : MAVEN_USERNAME
30
31
server-password : MAVEN_PASSWORD
31
32
32
- - name : Cache .m2
33
- uses : actions/cache@v2.1.7
34
- with :
35
- path : ~/.m2/repository
36
- key : ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
37
- restore-keys : |
38
- ${{ runner.os }}-maven
39
-
40
33
- name : Regular Build
41
34
if : ${{ !matrix.sonar-enabled }}
42
35
run : |
You can’t perform that action at this time.
0 commit comments