Skip to content

Commit

Permalink
Merge pull request #313 from sullis/setup-java-cache-attribute
Browse files Browse the repository at this point in the history
use setup-java cache attribute
  • Loading branch information
SamBarker authored May 12, 2024
2 parents a632982 + 99c6a06 commit 4ba728f
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,7 @@ jobs:
with:
java-version: 17
distribution: 'zulu'

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

- name: 'Build junit extension with maven tests'
run: mvn -B clean verify -Pci
Expand Down

0 comments on commit 4ba728f

Please sign in to comment.