diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1e50b93..f3a6e5d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -32,7 +32,7 @@ jobs: # Cache all the things - name: Cache SonarCloud packages - uses: actions/cache@v3 + uses: actions/cache@v4 if: ${{ env.SONAR_TOKEN != null && env.SONAR_TOKEN != '' && matrix.java_version == '17' }} env: SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} @@ -42,7 +42,7 @@ jobs: restore-keys: ${{ runner.os }}-sonar - name: Cache Maven packages - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.m2 key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 7f93509..20d0b73 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -46,7 +46,7 @@ jobs: queries: security-extended,security-and-quality - name: Cache Maven packages - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.m2 key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}