From cbbc403d0a0ffd94998da7dec9be98096081be33 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Wed, 24 Jan 2024 16:24:35 -0500 Subject: [PATCH] Use latest version of actions/cache (#48836) --- .github/actions/cache-nextjs/action.yml | 2 +- .github/actions/node-npm-setup/action.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/actions/cache-nextjs/action.yml b/.github/actions/cache-nextjs/action.yml index 13dc7311e0..84146741c8 100644 --- a/.github/actions/cache-nextjs/action.yml +++ b/.github/actions/cache-nextjs/action.yml @@ -8,7 +8,7 @@ runs: using: 'composite' steps: - name: Cache .next/cache - uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # pin @3.3.1 + uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # v4.0.0 with: path: ${{ github.workspace }}/.next/cache # Generate a new cache whenever packages or source files change. diff --git a/.github/actions/node-npm-setup/action.yml b/.github/actions/node-npm-setup/action.yml index cbd090f78e..8592d0b57a 100644 --- a/.github/actions/node-npm-setup/action.yml +++ b/.github/actions/node-npm-setup/action.yml @@ -6,7 +6,7 @@ runs: using: 'composite' steps: - name: Cache node_modules - uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 + uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # v4.0.0 id: cache-node_modules env: # Default is 10 min, per segment, but we can make it much smaller