Skip to content

Commit

Permalink
build: Update cache action to v4.
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-simons committed Mar 14, 2024
1 parent 580b5bf commit dcf5549
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
java-version: 17

- name: 'Cache Maven packages'
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}-${{ github.sha }}
Expand All @@ -36,7 +36,7 @@ jobs:
run: echo "USE_SONAR=-sonar" >> $GITHUB_ENV

- name: 'Cache SonarQube packages'
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.sonar/cache
key: ${{ runner.os }}-sonar
Expand Down Expand Up @@ -76,7 +76,7 @@ jobs:
java-version: ${{ matrix.java }}

- name: 'Cache Maven packages'
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}-${{ github.sha }}
Expand Down Expand Up @@ -110,7 +110,7 @@ jobs:
github-token: ${{ secrets.GITHUB_TOKEN }}

- name: 'Cache Maven packages'
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}-${{ github.sha }}
Expand Down

0 comments on commit dcf5549

Please sign in to comment.