Skip to content

Commit d6ce05a

Browse files
valfirstjchambers
authored andcommitted
[CI] Use built-in caching functionality
1 parent d7b6435 commit d6ce05a

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,6 @@ jobs:
1919
with:
2020
distribution: ${{ matrix.distribution }}
2121
java-version: ${{ matrix.java }}
22-
- name: Cache local Maven repository
23-
uses: actions/cache@v2
24-
with:
25-
path: ~/.m2/repository
26-
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
27-
restore-keys: |
28-
${{ runner.os }}-maven-
22+
cache: 'maven'
2923
- name: Test with Maven
3024
run: mvn verify -B --file pom.xml

0 commit comments

Comments
 (0)