Switch to actions/setup-java’s built-in caching

This commit is contained in:
Chris Eager committed 2021-09-13 09:40:44 -07:00
1 parent cd66a1ceb7
commit 6c6e6a4975
1 file changed
+1 -7
+1 -7
View File
@@ -13,12 +13,6 @@ jobs:
with:
distribution: 'adopt'
java-version: 11
- name: Cache local Maven repository
uses: actions/cache@v2
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
cache: 'maven'
- name: Build with Maven
run: mvn -e -B verify