@@ -23,18 +23,12 @@ jobs:
23
23
access_token : ${{ github.token }}
24
24
- name : ' Check out repository'
25
25
uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
26
- - name : ' Cache local Maven repository'
27
- uses : actions/cache@5a3ec84eff668545956fd18022155c47e93e2684
28
- with :
29
- path : ~/.m2/repository
30
- key : maven-${{ hashFiles('**/pom.xml') }}
31
- restore-keys : |
32
- maven-
33
26
- name : ' Set up JDK ${{ matrix.java }}'
34
27
uses : actions/setup-java@3a4f6e1af504cf6a31855fa899c6aa5355ba6c12
35
28
with :
36
29
java-version : ${{ matrix.java }}
37
30
distribution : ' zulu'
31
+ cache : ' maven'
38
32
- name : ' Install'
39
33
shell : bash
40
34
run : mvn -B -P!standard-with-extra-repos install -U -DskipTests=true
@@ -53,18 +47,12 @@ jobs:
53
47
steps :
54
48
- name : ' Check out repository'
55
49
uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
56
- - name : ' Cache local Maven repository'
57
- uses : actions/cache@5a3ec84eff668545956fd18022155c47e93e2684
58
- with :
59
- path : ~/.m2/repository
60
- key : maven-${{ hashFiles('**/pom.xml') }}
61
- restore-keys : |
62
- maven-
63
50
- name : ' Set up JDK 11'
64
51
uses : actions/setup-java@3a4f6e1af504cf6a31855fa899c6aa5355ba6c12
65
52
with :
66
53
java-version : 11
67
54
distribution : ' zulu'
55
+ cache : ' maven'
68
56
server-id : sonatype-nexus-snapshots
69
57
server-username : CI_DEPLOY_USERNAME
70
58
server-password : CI_DEPLOY_PASSWORD
@@ -82,18 +70,12 @@ jobs:
82
70
steps :
83
71
- name : ' Check out repository'
84
72
uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
85
- - name : ' Cache local Maven repository'
86
- uses : actions/cache@5a3ec84eff668545956fd18022155c47e93e2684
87
- with :
88
- path : ~/.m2/repository
89
- key : maven-${{ hashFiles('**/pom.xml') }}
90
- restore-keys : |
91
- maven-
92
73
- name : ' Set up JDK 11'
93
74
uses : actions/setup-java@3a4f6e1af504cf6a31855fa899c6aa5355ba6c12
94
75
with :
95
76
java-version : 11
96
77
distribution : ' zulu'
78
+ cache : ' maven'
97
79
- name : ' Generate latest docs'
98
80
env :
99
81
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
0 commit comments