diff --git a/.github/workflows/ci-actions-incremental.yml b/.github/workflows/ci-actions-incremental.yml index 086334df6de6d..b9f807e077ba1 100644 --- a/.github/workflows/ci-actions-incremental.yml +++ b/.github/workflows/ci-actions-incremental.yml @@ -129,7 +129,7 @@ jobs: echo "key=m2-cache-$(/bin/date -u "+%Y-%U")" >> $GITHUB_OUTPUT - name: Cache Maven Repository id: cache-maven - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.m2/repository # refresh cache every week to avoid unlimited growth @@ -345,7 +345,7 @@ jobs: architecture: ${{ matrix.java.architecture || 'x64' }} - name: Restore Maven Repository - uses: actions/cache/restore@v3 + uses: actions/cache/restore@v4 with: path: ~/.m2/repository # refresh cache every week to avoid unlimited growth @@ -439,7 +439,7 @@ jobs: - name: Add quarkusio remote for GIB run: git remote show quarkusio &> /dev/null || git remote add quarkusio https://github.com/quarkusio/quarkus.git - name: Restore Maven Repository - uses: actions/cache/restore@v3 + uses: actions/cache/restore@v4 with: path: ~/.m2/repository # refresh cache every week to avoid unlimited growth @@ -531,7 +531,7 @@ jobs: run: git config --global core.longpaths true - uses: actions/checkout@v4 - name: Restore Maven Repository - uses: actions/cache/restore@v3 + uses: actions/cache/restore@v4 with: path: ~/.m2/repository # refresh cache every week to avoid unlimited growth @@ -613,7 +613,7 @@ jobs: run: git config --global core.longpaths true - uses: actions/checkout@v4 - name: Restore Maven Repository - uses: actions/cache/restore@v3 + uses: actions/cache/restore@v4 with: path: ~/.m2/repository # refresh cache every week to avoid unlimited growth @@ -699,7 +699,7 @@ jobs: run: git config --global core.longpaths true - uses: actions/checkout@v4 - name: Restore Maven Repository - uses: actions/cache/restore@v3 + uses: actions/cache/restore@v4 with: path: ~/.m2/repository # refresh cache every week to avoid unlimited growth @@ -772,7 +772,7 @@ jobs: echo "GE_CUSTOM_VALUES=gh-job-name=Quickstarts Compilation - JDK ${{matrix.java.name}}" >> "$GITHUB_ENV" - uses: actions/checkout@v4 - name: Restore Maven Repository - uses: actions/cache/restore@v3 + uses: actions/cache/restore@v4 with: path: ~/.m2/repository # refresh cache every week to avoid unlimited growth @@ -832,7 +832,7 @@ jobs: echo "GE_CUSTOM_VALUES=gh-job-name=Native Tests - Virtual Thread - ${{matrix.category}}" >> "$GITHUB_ENV" - uses: actions/checkout@v4 - name: Restore Maven Repository - uses: actions/cache/restore@v3 + uses: actions/cache/restore@v4 with: path: ~/.m2/repository # refresh cache every week to avoid unlimited growth @@ -905,7 +905,7 @@ jobs: distribution: temurin java-version: 17 - name: Restore Maven Repository - uses: actions/cache/restore@v3 + uses: actions/cache/restore@v4 with: path: ~/.m2/repository # refresh cache every week to avoid unlimited growth @@ -1008,7 +1008,7 @@ jobs: cat <<< $(jq '.HttpHeaders += {"User-Agent": "Quarkus-CI-Docker-Client"}' ~/.docker/config.json) > ~/.docker/config.json fi - name: Restore Maven Repository - uses: actions/cache/restore@v3 + uses: actions/cache/restore@v4 with: path: ~/.m2/repository # refresh cache every week to avoid unlimited growth diff --git a/.github/workflows/ci-fork-mvn-cache.yml b/.github/workflows/ci-fork-mvn-cache.yml index dd8140e97fc3c..d226038a118e4 100644 --- a/.github/workflows/ci-fork-mvn-cache.yml +++ b/.github/workflows/ci-fork-mvn-cache.yml @@ -50,7 +50,7 @@ jobs: shell: bash - name: Cache Maven Repository id: cache-maven - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.m2/repository # refresh cache every month to avoid unlimited growth diff --git a/.github/workflows/deploy-snapshots.yml b/.github/workflows/deploy-snapshots.yml index 0f439b840b711..f8182f9ba8f16 100644 --- a/.github/workflows/deploy-snapshots.yml +++ b/.github/workflows/deploy-snapshots.yml @@ -32,7 +32,7 @@ jobs: shell: bash - name: Cache Maven Repository id: cache-maven - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.m2/repository # refresh cache every month to avoid unlimited growth diff --git a/.github/workflows/doc-build.yml b/.github/workflows/doc-build.yml index 80e6c455edb4e..d3779552badd6 100644 --- a/.github/workflows/doc-build.yml +++ b/.github/workflows/doc-build.yml @@ -45,7 +45,7 @@ jobs: echo "date=$(/bin/date -u "+%Y-%m")" >> $GITHUB_OUTPUT - name: Cache Maven Repository id: cache-maven - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.m2/repository # refresh cache every month to avoid unlimited growth diff --git a/.github/workflows/jdk-early-access-build.yml b/.github/workflows/jdk-early-access-build.yml index 658d9c0d16b93..513d159918538 100644 --- a/.github/workflows/jdk-early-access-build.yml +++ b/.github/workflows/jdk-early-access-build.yml @@ -84,7 +84,7 @@ jobs: shell: bash - name: Cache Maven Repository id: cache-maven - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.m2/repository # refresh cache every month to avoid unlimited growth diff --git a/.github/workflows/podman-build.yml b/.github/workflows/podman-build.yml index d781457c77fa4..b62a09c77344b 100644 --- a/.github/workflows/podman-build.yml +++ b/.github/workflows/podman-build.yml @@ -82,7 +82,7 @@ jobs: echo ryuk.container.privileged=true > ~/.testcontainers.properties - name: Cache Maven Repository id: cache-maven - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.m2/repository # refresh cache every month to avoid unlimited growth diff --git a/.github/workflows/sonarcloud.yml b/.github/workflows/sonarcloud.yml index 6586a11df6a7a..617ca03f97061 100644 --- a/.github/workflows/sonarcloud.yml +++ b/.github/workflows/sonarcloud.yml @@ -22,12 +22,12 @@ jobs: echo "date=$(/bin/date -u "+%Y-%m")" >> $GITHUB_OUTPUT shell: bash - name: Cache SonarCloud packages - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.sonar/cache key: ${{ runner.os }}-sonar-${{ steps.get-date.outputs.date }} - name: Cache Maven packages - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.m2 key: ${{ runner.os }}-m2-${{ steps.get-date.outputs.date }}