Skip to content
This repository was archived by the owner on May 13, 2024. It is now read-only.

Commit b02e7c7

Browse files
committed
chore: update key
1 parent 065db58 commit b02e7c7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/actions/invalidate_master_cache/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ runs:
88
with:
99
path: |-
1010
node_modules
11-
key: ${{ build-master-cache-${{ hashFiles('package-lock.json') }}
11+
key: ${{ runner.os }}-node_modules-${{ hashFiles('**/package-lock.json') }}

.github/actions/npm_install_from_cache/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ runs:
77
id: cache-nodemodules
88
uses: actions/cache/restore@v3
99
with:
10-
key: ${{ build-master-cache-${{ hashFiles('package-lock.json') }}
1110
path: node_modules
11+
key: ${{ runner.os }}-node_modules-${{ hashFiles('**/package-lock.json') }}
1212
- name: Install npm dependencies
1313
if: steps.cache-nodemodules.outputs.cache-hit != 'true'
1414
run: npm install

0 commit comments

Comments
 (0)