From 4043ac63b62dcd1c5383875862cc297679588088 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dafydd=20Ll=C5=B7r=20Pearson?= Date: Thu, 2 May 2024 13:07:41 +0100 Subject: [PATCH] chore: Bump `actions/cache` to v4 (Node 20) (#3101) --- .github/workflows/pull-request.yml | 6 +++--- .github/workflows/push-main.yml | 4 ++-- .github/workflows/push-production.yml | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 2cb058765c..7bc7bdd164 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -184,7 +184,7 @@ jobs: - uses: actions/checkout@v4 - name: Cache build assets id: cache-react-build-assets - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ./${{ env.EDITOR_DIRECTORY }}/build key: ${{ runner.os }}-${{ hashFiles('editor.planx.uk/**') }} @@ -255,7 +255,7 @@ jobs: working-directory: infrastructure/application - name: Download React build assets id: cache-react-build-assets - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ./${{ env.EDITOR_DIRECTORY }}/build key: ${{ runner.os }}-${{ hashFiles('editor.planx.uk/**', '!editor.planx/build/**') }} @@ -377,7 +377,7 @@ jobs: - uses: actions/checkout@v4 - name: Download React build assets id: cache-react-build-assets - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ./${{ env.EDITOR_DIRECTORY }}/build key: ${{ runner.os }}-${{ hashFiles('editor.planx.uk/**', '!editor.planx/build/**') }} diff --git a/.github/workflows/push-main.yml b/.github/workflows/push-main.yml index caa191b4e1..a11da3efe0 100644 --- a/.github/workflows/push-main.yml +++ b/.github/workflows/push-main.yml @@ -22,7 +22,7 @@ jobs: node-version: ${{ vars.NODE_VERSION }} # https://docs.github.com/en/free-pro-team@latest/actions/guides/caching-dependencies-to-speed-up-workflows#using-the-cache-action - name: NPM cache - uses: actions/cache@v3 + uses: actions/cache@v4 env: cache-name: cache-npm with: @@ -34,7 +34,7 @@ jobs: ${{ runner.os }}-build- ${{ runner.os }}- - name: PNPM cache - uses: actions/cache@v3 + uses: actions/cache@v4 env: cache-name: cache-pnpm with: diff --git a/.github/workflows/push-production.yml b/.github/workflows/push-production.yml index 84ddb95913..429bef4f4d 100644 --- a/.github/workflows/push-production.yml +++ b/.github/workflows/push-production.yml @@ -22,7 +22,7 @@ jobs: node-version: ${{ vars.NODE_VERSION }} # https://docs.github.com/en/free-pro-team@latest/actions/guides/caching-dependencies-to-speed-up-workflows#using-the-cache-action - name: NPM cache - uses: actions/cache@v3 + uses: actions/cache@v4 env: cache-name: cache-npm with: @@ -34,7 +34,7 @@ jobs: ${{ runner.os }}-build- ${{ runner.os }}- - name: PNPM cache - uses: actions/cache@v3 + uses: actions/cache@v4 env: cache-name: cache-pnpm with: