Skip to content

Commit

Permalink
Update actions/cache action to v3 (#2524)
Browse files Browse the repository at this point in the history
Co-authored-by: Renovate Bot <bot@renovateapp.com>
  • Loading branch information
renovate[bot] and renovate-bot committed Mar 22, 2022
1 parent 0c4db00 commit b05ac55
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/maven.yml
Expand Up @@ -25,14 +25,14 @@ jobs:
with:
distribution: 'zulu'
java-version: ${{ matrix.java_version }}
- uses: actions/cache@v2.1.7
- uses: actions/cache@v3.0.0
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Cache SonarCloud packages
uses: actions/cache@v2.1.7
uses: actions/cache@v3.0.0
if: ${{ env.SONAR_TOKEN != null && env.SONAR_TOKEN != '' && matrix.java_version == '11' }}
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Expand Up @@ -22,7 +22,7 @@ jobs:
server-password: CI_DEPLOY_PASSWORD
gpg-passphrase: GPG_PASSPHRASE
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }}
- uses: actions/cache@v2.1.7
- uses: actions/cache@v3.0.0
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
Expand Down

0 comments on commit b05ac55

Please sign in to comment.