From 283c8d6a185d98d70227ec64058254da99dfa862 Mon Sep 17 00:00:00 2001 From: Laurent Thiebault Date: Wed, 11 Dec 2024 11:55:44 +0100 Subject: [PATCH] chore: upgrade to actions/cache v4 --- .github/workflows/build-canary.yml | 2 +- .github/workflows/build-main.yml | 2 +- .github/workflows/build-pr.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-canary.yml b/.github/workflows/build-canary.yml index f35f5d2b6..9c5e1c77d 100644 --- a/.github/workflows/build-canary.yml +++ b/.github/workflows/build-canary.yml @@ -27,7 +27,7 @@ jobs: registry-url: 'https://registry.npmjs.org' - name: Restore/create node_modules cache - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: '**/node_modules' key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }} diff --git a/.github/workflows/build-main.yml b/.github/workflows/build-main.yml index 1f54558da..2d1960af3 100644 --- a/.github/workflows/build-main.yml +++ b/.github/workflows/build-main.yml @@ -26,7 +26,7 @@ jobs: registry-url: 'https://registry.npmjs.org' - name: Restore/create node_modules cache - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: '**/node_modules' key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }} diff --git a/.github/workflows/build-pr.yml b/.github/workflows/build-pr.yml index bc6f862d2..9c88a083b 100644 --- a/.github/workflows/build-pr.yml +++ b/.github/workflows/build-pr.yml @@ -68,7 +68,7 @@ jobs: github-token: ${{ secrets.API_TOKEN_GITHUB }} - name: Restore/create node_modules cache - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: '**/node_modules' key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}