From c08285229c256b2af061ab550c78ff056ab8c1b0 Mon Sep 17 00:00:00 2001 From: Gerardo Pacheco Date: Tue, 23 Apr 2024 19:01:58 +0200 Subject: [PATCH] Setup Node action - Set arch for key value (#61010) --- .github/setup-node/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/setup-node/action.yml b/.github/setup-node/action.yml index fccce2e4e93bcf..f52f5fb2e3ebf0 100644 --- a/.github/setup-node/action.yml +++ b/.github/setup-node/action.yml @@ -28,7 +28,7 @@ runs: uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3.3.1 with: path: '**/node_modules' - key: node_modules-${{ runner.os }}-${{ steps.node-version.outputs.NODE_VERSION }}-${{ hashFiles('package-lock.json') }} + key: node_modules-${{ runner.os }}-${{ runner.arch }}-${{ steps.node-version.outputs.NODE_VERSION }}-${{ hashFiles('package-lock.json') }} - name: Install npm dependencies if: ${{ steps.cache-node_modules.outputs.cache-hit != 'true' }}