Skip to content

Commit

Permalink
Use actions/cache for CI builds (#76)
Browse files Browse the repository at this point in the history
  • Loading branch information
ebaron authored May 14, 2021
1 parent c8402b6 commit 17576ab
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,10 @@ jobs:
with:
java-version: '11'
distribution: 'adopt'
- uses: skjolber/maven-cache-github-action@v1
- uses: actions/cache@v2
with:
step: restore
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- run: mvn -B -U clean verify
- uses: skjolber/maven-cache-github-action@v1
with:
step: save

0 comments on commit 17576ab

Please sign in to comment.