Skip to content

Commit

Permalink
upgrade cache action version
Browse files Browse the repository at this point in the history
  • Loading branch information
nobodyiam committed Dec 14, 2024
1 parent 28d2898 commit 9bd27ba
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,12 @@ jobs:
with:
java-version: ${{ matrix.jdk }}
- name: Cache Maven packages
uses: actions/cache@v1
uses: actions/cache@v4
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: JDK 8
if: matrix.jdk == '8'
run: mvn -B clean package jacoco:report -Dmaven.gitcommitid.skip=true
Expand Down

0 comments on commit 9bd27ba

Please sign in to comment.