diff --git a/.github/workflows/build_sonar_verify.yml b/.github/workflows/build_sonar_verify.yml index 5c81a671..6d9d2ea5 100644 --- a/.github/workflows/build_sonar_verify.yml +++ b/.github/workflows/build_sonar_verify.yml @@ -54,13 +54,13 @@ jobs: distribution: 'adopt' cache: 'maven' - name: Cache SonarCloud packages - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.sonar/cache key: ${{ runner.os }}-sonar 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/maven-verify.yml b/.github/workflows/maven-verify.yml index 335db5b4..70fcb603 100644 --- a/.github/workflows/maven-verify.yml +++ b/.github/workflows/maven-verify.yml @@ -17,7 +17,7 @@ jobs: java-version: '17' distribution: 'adopt' - 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/sonar-master.yml b/.github/workflows/sonar-master.yml index c70073b3..7c091257 100644 --- a/.github/workflows/sonar-master.yml +++ b/.github/workflows/sonar-master.yml @@ -18,13 +18,13 @@ jobs: distribution: 'adopt' cache: 'maven' - name: Cache SonarCloud packages - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.sonar/cache key: ${{ runner.os }}-sonar 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') }}