From 717120cbbdef0ff23e0e4e92d16d815a4b009f58 Mon Sep 17 00:00:00 2001 From: Nemanja Glumac <31325167+nemanjaglumac@users.noreply.github.com> Date: Thu, 1 Feb 2024 10:07:50 +0100 Subject: [PATCH] Upgrade `actions/cache` action to v4 (#38335) --- .github/actions/prepare-backend/action.yml | 2 +- .github/actions/prepare-cypress/action.yml | 2 +- .github/actions/prepare-frontend/action.yml | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/actions/prepare-backend/action.yml b/.github/actions/prepare-backend/action.yml index fd46ef0a9d5..e04c298a22e 100644 --- a/.github/actions/prepare-backend/action.yml +++ b/.github/actions/prepare-backend/action.yml @@ -29,7 +29,7 @@ runs: run: echo "Commit message includes [ci nocache]; dependencies will NOT be cached" shell: bash - name: Get M2 cache - uses: actions/cache@v3 + uses: actions/cache@v4 if: ${{ !contains(github.event.head_commit.message, '[ci nocache]') }} with: path: | diff --git a/.github/actions/prepare-cypress/action.yml b/.github/actions/prepare-cypress/action.yml index a0f917169a0..f0fe2757758 100644 --- a/.github/actions/prepare-cypress/action.yml +++ b/.github/actions/prepare-cypress/action.yml @@ -13,7 +13,7 @@ runs: run: echo "Commit message includes [ci nocache]; dependencies will NOT be cached" shell: bash - name: Get Cypress cache - uses: actions/cache@v3 + uses: actions/cache@v4 if: ${{ !contains(github.event.head_commit.message, '[ci nocache]') }} with: path: ~/.cache/Cypress diff --git a/.github/actions/prepare-frontend/action.yml b/.github/actions/prepare-frontend/action.yml index f05137065de..c00d2446c87 100644 --- a/.github/actions/prepare-frontend/action.yml +++ b/.github/actions/prepare-frontend/action.yml @@ -13,13 +13,13 @@ runs: yarn cache clean shell: bash - name: Get M2 cache - uses: actions/cache@v3 + uses: actions/cache@v4 if: ${{ !contains(github.event.head_commit.message, '[ci nocache]') }} with: path: ~/.m2 key: ${{ runner.os }}-cljs-${{ hashFiles('**/shadow-cljs.edn') }} - name: Get node_modules cache - uses: actions/cache@v3 + uses: actions/cache@v4 if: ${{ !contains(github.event.head_commit.message, '[ci nocache]') }} with: path: node_modules -- GitLab