diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b1240d5c3..ef8f36e0a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -26,14 +26,14 @@ jobs: java-version: 17 distribution: 'temurin' - name: Cache SonarCloud packages - uses: actions/cache@v1 + uses: actions/cache@v4 if: ${{ env.SONAR_TOKEN != 0 }} with: path: ~/.sonar/cache key: ${{ runner.os }}-sonar restore-keys: ${{ runner.os }}-sonar - name: Cache Maven packages - uses: actions/cache@v1 + uses: actions/cache@v4 with: path: ~/.m2 key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} diff --git a/.github/workflows/publish-docker-helm.yml b/.github/workflows/publish-docker-helm.yml index b31e77f5b..7878d0785 100644 --- a/.github/workflows/publish-docker-helm.yml +++ b/.github/workflows/publish-docker-helm.yml @@ -55,7 +55,7 @@ jobs: java-version: 17 distribution: 'temurin' - name: Cache Maven packages - uses: actions/cache@v1 + uses: actions/cache@v4 with: path: ~/.m2 key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} diff --git a/.github/workflows/publish-rcgnmi.yml b/.github/workflows/publish-rcgnmi.yml index f69577230..d4fc13e8b 100644 --- a/.github/workflows/publish-rcgnmi.yml +++ b/.github/workflows/publish-rcgnmi.yml @@ -43,7 +43,7 @@ jobs: java-version: 17 distribution: 'temurin' - name: Cache Maven packages - uses: actions/cache@v1 + uses: actions/cache@v4 with: path: ~/.m2 key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} diff --git a/.github/workflows/publish-rnc.yml b/.github/workflows/publish-rnc.yml index 334e0bc38..3ab812148 100644 --- a/.github/workflows/publish-rnc.yml +++ b/.github/workflows/publish-rnc.yml @@ -43,7 +43,7 @@ jobs: java-version: 17 distribution: 'temurin' - name: Cache Maven packages - uses: actions/cache@v1 + uses: actions/cache@v4 with: path: ~/.m2 key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} diff --git a/.github/workflows/test-lighty-app.yml b/.github/workflows/test-lighty-app.yml index e26c4177a..5a0341f56 100644 --- a/.github/workflows/test-lighty-app.yml +++ b/.github/workflows/test-lighty-app.yml @@ -28,7 +28,7 @@ jobs: java-version: 17 distribution: 'temurin' - name: Cache Maven packages - uses: actions/cache@v1 + uses: actions/cache@v4 with: path: ~/.m2 key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}