Skip to content

Commit a67d224

Browse files
committed
Use maven cache during setup-java action.
1 parent c95c611 commit a67d224

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
@@ -24,13 +24,7 @@ jobs:
2424
distribution: 'temurin'
2525
java-version: '11'
2626
check-latest: true
27-
- name: Cache local Maven repository
28-
uses: actions/[email protected]
29-
with:
30-
path: ~/.m2/repository
31-
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
32-
restore-keys: |
33-
${{ runner.os }}-maven-
27+
cache: 'maven'
3428
- name: Build with Maven
3529
env:
3630
BROWSER: chrome-container

0 commit comments

Comments
 (0)