diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 666ae71..49446c6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -31,7 +31,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 }} @@ -41,7 +41,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') }}