Switch to actions/setup-java’s built-in caching
This commit is contained in:
parent
cd66a1ceb7
commit
6c6e6a4975
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue