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 9797 with :
9898 distribution : ${{ matrix.distribution }}
9999 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-
101108
102109 - name : CheckStyle Cache
103110 uses : actions/cache@v4
@@ -128,7 +135,14 @@ jobs:
128135 with :
129136 distribution : ${{ matrix.distribution }}
130137 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-
132146
133147 - name : PMD Cache
134148 uses : actions/cache@v4
You can’t perform that action at this time.
0 commit comments