Skip to content

Commit

Permalink
Use maven cache during setup-java action.
Browse files Browse the repository at this point in the history
  • Loading branch information
uhafner committed Mar 14, 2022
1 parent 15de991 commit 121374f
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,7 @@ jobs:
distribution: 'temurin'
java-version: '11'
check-latest: true
- name: Cache local Maven repository
uses: actions/cache@v2.1.7
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
cache: 'maven'
- name: Build with Maven
env:
BROWSER: chrome-container
Expand Down

0 comments on commit 121374f

Please sign in to comment.