File tree Expand file tree Collapse file tree 1 file changed +16
-2
lines changed Expand file tree Collapse file tree 1 file changed +16
-2
lines changed Original file line number Diff line number Diff line change 97
97
with :
98
98
distribution : ${{ matrix.distribution }}
99
99
java-version : ${{ matrix.java }}
100
- cache : ' maven'
100
+
101
+ - name : Cache Maven
102
+ uses : actions/cache@v4
103
+ with :
104
+ path : ~/.m2/repository
105
+ key : ${{ runner.os }}-mvn-checkstyle-${{ hashFiles('**/pom.xml') }}
106
+ restore-keys : |
107
+ ${{ runner.os }}-mvn-checkstyle-
101
108
102
109
- name : CheckStyle Cache
103
110
uses : actions/cache@v4
@@ -128,7 +135,14 @@ jobs:
128
135
with :
129
136
distribution : ${{ matrix.distribution }}
130
137
java-version : ${{ matrix.java }}
131
- cache : ' maven'
138
+
139
+ - name : Cache Maven
140
+ uses : actions/cache@v4
141
+ with :
142
+ path : ~/.m2/repository
143
+ key : ${{ runner.os }}-mvn-pmd-${{ hashFiles('**/pom.xml') }}
144
+ restore-keys : |
145
+ ${{ runner.os }}-mvn-pmd-
132
146
133
147
- name : PMD Cache
134
148
uses : actions/cache@v4
You can’t perform that action at this time.
0 commit comments