Skip to content

Commit e2100d7

Browse files
committed
Cache Maven dependencies using setup-java built-in support
1 parent 5d982ad commit e2100d7

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

.github/workflows/CI.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,7 @@ jobs:
2222
with:
2323
java-version: ${{ matrix.java }}
2424
distribution: 'temurin'
25-
- name: Cache Maven dependencies
26-
uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5
27-
with:
28-
path: ~/.m2
29-
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
30-
restore-keys: ${{ runner.os }}-m2
25+
cache: 'maven'
3126
- name: Execute tests
3227
run: mvn verify
3328
- name: check license header is present in all files

0 commit comments

Comments
 (0)