Skip to content

Commit 219f88c

Browse files
authored
Merge pull request #112 from domaframework/cache-with-setup-java
Cache with actions/setup-java@v2
2 parents 5450b0f + 6d73eda commit 219f88c

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,17 +25,11 @@ jobs:
2525
with:
2626
distribution: zulu
2727
java-version: ${{ matrix.java }}
28+
cache: maven
2829

2930
- name: Grant execute permission for mvnw
3031
run: chmod +x mvnw
3132

32-
- name: Cache Maven packages
33-
uses: actions/cache@v2
34-
with:
35-
path: ~/.m2
36-
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
37-
restore-keys: ${{ runner.os }}-m2
38-
3933
- name: Test with Maven
4034
run: ./mvnw test -B -Dspring-boot.version=${{ matrix.spring-boot-version }}
4135

0 commit comments

Comments
 (0)