Include architecture in cache key (#91)
Otherwise, running tests on macos-13 and macos-15 uses the same cache key for Intel and Apple Silicon. Note: I had some trouble regenerating the `dist` without introducing huge changes in the output. For that reason I skipped updating `index.js.map`.
This commit is contained in:
parent
20a70d3f31
commit
54c9086be8
3 changed files with 3 additions and 3 deletions
|
|
@ -46,7 +46,7 @@ switch (platform) {
|
|||
break
|
||||
}
|
||||
|
||||
const baseCacheKey = `setup-bazel-${cacheVersion}-${platform}`
|
||||
const baseCacheKey = `setup-bazel-${cacheVersion}-${platform}-${arch}`
|
||||
const bazelrc = core.getMultilineInput('bazelrc')
|
||||
|
||||
const diskCacheConfig = core.getInput('disk-cache')
|
||||
|
|
|
|||
2
dist/main/index.js
vendored
2
dist/main/index.js
vendored
|
|
@ -52,7 +52,7 @@ switch (platform) {
|
|||
break
|
||||
}
|
||||
|
||||
const baseCacheKey = `setup-bazel-${cacheVersion}-${platform}`
|
||||
const baseCacheKey = `setup-bazel-${cacheVersion}-${platform}-${arch}`
|
||||
const bazelrc = core.getMultilineInput('bazelrc')
|
||||
|
||||
const diskCacheConfig = core.getInput('disk-cache')
|
||||
|
|
|
|||
2
dist/post/index.js
vendored
2
dist/post/index.js
vendored
|
|
@ -52,7 +52,7 @@ switch (platform) {
|
|||
break
|
||||
}
|
||||
|
||||
const baseCacheKey = `setup-bazel-${cacheVersion}-${platform}`
|
||||
const baseCacheKey = `setup-bazel-${cacheVersion}-${platform}-${arch}`
|
||||
const bazelrc = core.getMultilineInput('bazelrc')
|
||||
|
||||
const diskCacheConfig = core.getInput('disk-cache')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue