Skip to content

Commit e9dac43

Browse files
committed
Try using a glob pattern
1 parent e5840c9 commit e9dac43

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/pr-darwin-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
- name: Print outcome of hashFiles (debug)
4747
run: |
4848
echo "Computed hash:"
49-
echo "${{ hashFiles('.build/packagelockhash') }}"
49+
echo "${{ hashFiles('.build/packagelockhash*') }}"
5050
5151
# - name: Prepare node_modules cache key
5252
# run: mkdir -p .build && node build/azure-pipelines/common/computeNodeModulesCacheKey.ts darwin $VSCODE_ARCH $(node -p process.arch) > .build/packagelockhash
@@ -56,7 +56,7 @@ jobs:
5656
uses: actions/cache/restore@v4
5757
with:
5858
path: .build/node_modules_cache
59-
key: "node_modules-macos-${{ hashFiles('.build/packagelockhash') }}"
59+
key: "node_modules-macos-${{ hashFiles('.build/packagelockhash*') }}"
6060

6161
- name: Extract node_modules cache
6262
if: steps.cache-node-modules.outputs.cache-hit == 'true'

0 commit comments

Comments
 (0)