Skip to content

Commit

Permalink
Switch out maven cache step to use the cache in setup-java
Browse files Browse the repository at this point in the history
  • Loading branch information
markpatton committed Dec 20, 2023
1 parent 239d1fc commit cf924a8
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 @@ -23,13 +23,7 @@ jobs:
with:
java-version: 17
distribution: 'temurin'

- name: Cache Maven packages
uses: actions/cache@v2
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
cache: 'maven'

- name: Run Tests
run: mvn -U -B -V -ntp verify

0 comments on commit cf924a8

Please sign in to comment.