From f0f3d95d2cc5a7cd20ab8aa868591fdfd70786f6 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 19 Jun 2024 00:28:19 +0000 Subject: [PATCH] Update actions/cache action to v4 --- .github/actions/yarn-nm-install/action.yml | 4 ++-- .github/workflows/ci.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/actions/yarn-nm-install/action.yml b/.github/actions/yarn-nm-install/action.yml index 9abe7fa5..634ad294 100644 --- a/.github/actions/yarn-nm-install/action.yml +++ b/.github/actions/yarn-nm-install/action.yml @@ -46,7 +46,7 @@ runs: # Yarn rotates the downloaded cache archives, @see https://github.com/actions/setup-node/issues/325 # Yarn cache is also reusable between arch and os. - name: ♻️ Restore yarn cache - uses: actions/cache@v3 + uses: actions/cache@v4 id: yarn-download-cache with: path: ${{ steps.yarn-config.outputs.CACHE_FOLDER }} @@ -57,7 +57,7 @@ runs: # Save install_state (invalidated on yarn.lock changes) - name: ♻️ Restore yarn install state id: yarn-install-state-cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: .yarn/ci-cache/ key: ${{ runner.os }}-yarn-install-state-cache-${{ hashFiles('yarn.lock', '.yarnrc.yml') }} diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a1fc4ed9..5c88b90d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -46,7 +46,7 @@ jobs: uses: ./.github/actions/yarn-nm-install - name: ♻️ Restore packages cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | ${{ github.workspace }}/.cache @@ -58,7 +58,7 @@ jobs: # see https://github.com/vercel/next.js/pull/27362 - name: ♻️ Restore nextjs build demo from cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | ${{ github.workspace }}/apps/demo/.next/cache