mirror of https://github.com/actions/toolkit
Fix cache misses
parent
7640cf17c1
commit
e1b7e78d60
|
@ -254,10 +254,10 @@ export async function saveCache(
|
||||||
console.debug(`Cache Service Version: ${CacheServiceVersion}`)
|
console.debug(`Cache Service Version: ${CacheServiceVersion}`)
|
||||||
switch (CacheServiceVersion) {
|
switch (CacheServiceVersion) {
|
||||||
case "v2":
|
case "v2":
|
||||||
return await saveCachev1(paths, key, options, enableCrossOsArchive)
|
return await saveCachev2(paths, key, options, enableCrossOsArchive)
|
||||||
case "v1":
|
case "v1":
|
||||||
default:
|
default:
|
||||||
return await saveCachev2(paths, key, options, enableCrossOsArchive)
|
return await saveCachev1(paths, key, options, enableCrossOsArchive)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue