diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 6d94e58c1..fa3726d4b 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -38,7 +38,7 @@ jobs: server-username: OSS_USERNAME server-password: OSS_PASSWORD - name: Cache SonarCloud packages - uses: actions/cache@v2.1.7 + uses: actions/cache@v3.3.3 if: ${{ env.SONAR_TOKEN != null && env.SONAR_TOKEN != '' && matrix.java_version == '11' }} env: SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 9b68efe15..8a68483f5 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -29,7 +29,7 @@ jobs: java-version: ${{ matrix.java_version }} cache: 'maven' - name: Cache SonarCloud packages - uses: actions/cache@v2.1.7 + uses: actions/cache@v3.3.3 if: ${{ env.SONAR_TOKEN != null && env.SONAR_TOKEN != '' && matrix.java_version == '11' }} env: SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}