From 05eac4e8d31aaf12bac50a676322bbee10fe91be Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 18 Jan 2024 00:54:32 +0000 Subject: [PATCH] Update actions/cache action to v4 --- .github/actions/prepare-docker-image/action.yml | 2 +- .github/workflows/cd-for-main.yml | 2 +- .github/workflows/cd-for-pr.yml | 2 +- .github/workflows/ci.yml | 8 ++++---- .github/workflows/image-build-and-publish.yml | 2 +- .github/workflows/image-build.yml | 4 ++-- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/actions/prepare-docker-image/action.yml b/.github/actions/prepare-docker-image/action.yml index f9a316cf..3615f1bd 100644 --- a/.github/actions/prepare-docker-image/action.yml +++ b/.github/actions/prepare-docker-image/action.yml @@ -18,7 +18,7 @@ runs: echo "WWWGROUP=$(id -g)" >> $GITHUB_ENV echo "WWWGROUP=$(id -g)" >> $GITHUB_OUTPUT - name: Cache Docker Registry - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: /tmp/docker-registry key: docker-registry-${{ github.ref }}-${{ github.sha }} diff --git a/.github/workflows/cd-for-main.yml b/.github/workflows/cd-for-main.yml index a639b7ad..8266957c 100644 --- a/.github/workflows/cd-for-main.yml +++ b/.github/workflows/cd-for-main.yml @@ -23,7 +23,7 @@ jobs: sudo apt-get update sudo apt-get install -y nasm - name: Cache asdf - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | ~/.asdf diff --git a/.github/workflows/cd-for-pr.yml b/.github/workflows/cd-for-pr.yml index 92222783..c4dc0143 100644 --- a/.github/workflows/cd-for-pr.yml +++ b/.github/workflows/cd-for-pr.yml @@ -29,7 +29,7 @@ jobs: uses: asdf-vm/actions/setup@v3.0.2 continue-on-error: true - name: Cache asdf - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | ~/.asdf diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4f326d5a..5825d724 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,7 +12,7 @@ jobs: uses: asdf-vm/actions/setup@v3.0.2 continue-on-error: true - name: Cache asdf - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | ~/.asdf @@ -34,7 +34,7 @@ jobs: uses: asdf-vm/actions/setup@v3.0.2 continue-on-error: true - name: Cache asdf - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | ~/.asdf @@ -56,7 +56,7 @@ jobs: uses: asdf-vm/actions/setup@v3.0.2 continue-on-error: true - name: Cache asdf - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | ~/.asdf @@ -80,7 +80,7 @@ jobs: uses: asdf-vm/actions/setup@v3.0.2 continue-on-error: true - name: Cache asdf - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | ~/.asdf diff --git a/.github/workflows/image-build-and-publish.yml b/.github/workflows/image-build-and-publish.yml index bc2d64f0..58ccbe38 100644 --- a/.github/workflows/image-build-and-publish.yml +++ b/.github/workflows/image-build-and-publish.yml @@ -28,7 +28,7 @@ jobs: run: | echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT - name: Cache Docker Build Cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: /tmp/.buildx-cache key: docker-build-cache-${{ github.ref }}-${{ github.sha }} diff --git a/.github/workflows/image-build.yml b/.github/workflows/image-build.yml index 41f38c68..80278816 100644 --- a/.github/workflows/image-build.yml +++ b/.github/workflows/image-build.yml @@ -17,7 +17,7 @@ jobs: - name: Checkout uses: actions/checkout@v4 - name: Cache Docker Build Cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: /tmp/.buildx-cache key: docker-build-cache-${{ github.ref }}-${{ github.sha }} @@ -38,7 +38,7 @@ jobs: echo TAG $TAG echo "docker_image_tag_ci=$TAG" >> $GITHUB_OUTPUT - name: Cache Docker Registry - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: /tmp/docker-registry key: docker-registry-${{ github.ref }}-${{ github.sha }}