mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2025-11-18 16:31:06 +08:00
Fix cache misses
This commit is contained in:
parent
7640cf17c1
commit
e1b7e78d60
4
packages/cache/src/cache.ts
vendored
4
packages/cache/src/cache.ts
vendored
@ -254,10 +254,10 @@ export async function saveCache(
|
||||
console.debug(`Cache Service Version: ${CacheServiceVersion}`)
|
||||
switch (CacheServiceVersion) {
|
||||
case "v2":
|
||||
return await saveCachev1(paths, key, options, enableCrossOsArchive)
|
||||
return await saveCachev2(paths, key, options, enableCrossOsArchive)
|
||||
case "v1":
|
||||
default:
|
||||
return await saveCachev2(paths, key, options, enableCrossOsArchive)
|
||||
return await saveCachev1(paths, key, options, enableCrossOsArchive)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user