Skip to content

Commit 4608b37

Browse files
authored
Align cache key across OSes (microsoft#165042)
1 parent 16f30d9 commit 4608b37

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

build/azure-pipelines/win32/product-build-win32.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,14 +86,13 @@ steps:
8686
8787
- powershell: |
8888
if (!(Test-Path ".build")) { New-Item -Path ".build" -ItemType Directory }
89-
"$(VSCODE_ARCH)" | Out-File -Encoding ascii -NoNewLine .build\arch
90-
node build/azure-pipelines/common/computeNodeModulesCacheKey.js > .build/yarnlockhash
89+
node build/azure-pipelines/common/computeNodeModulesCacheKey.js $(VSCODE_ARCH) > .build/yarnlockhash
9190
node build/azure-pipelines/common/computeBuiltInDepsCacheKey.js > .build/builtindepshash
9291
displayName: Prepare yarn cache flags
9392
9493
- task: Cache@2
9594
inputs:
96-
key: "nodeModules | $(Agent.OS) | .build/arch, .build/yarnlockhash"
95+
key: "nodeModules | $(Agent.OS) | .build/yarnlockhash"
9796
path: .build/node_modules_cache
9897
cacheHitVar: NODE_MODULES_RESTORED
9998
displayName: Restore node_modules cache

0 commit comments

Comments
 (0)