Fix cache save

Link-/blobcache-spike
Bassem Dghaidi 6 months ago committed by GitHub
parent 2fbb473cf9
commit 15ed468872

@ -3360,10 +3360,10 @@ function saveCache(paths, key, options, enableCrossOsArchive = false) {
console.debug(`Cache Service Version: ${constants_1.CacheServiceVersion}`);
switch (constants_1.CacheServiceVersion) {
case "v2":
return yield saveCachev1(paths, key, options, enableCrossOsArchive);
return yield saveCachev2(paths, key, options, enableCrossOsArchive);
case "v1":
default:
return yield saveCachev2(paths, key, options, enableCrossOsArchive);
return yield saveCachev1(paths, key, options, enableCrossOsArchive);
}
});
}

@ -3360,10 +3360,10 @@ function saveCache(paths, key, options, enableCrossOsArchive = false) {
console.debug(`Cache Service Version: ${constants_1.CacheServiceVersion}`);
switch (constants_1.CacheServiceVersion) {
case "v2":
return yield saveCachev1(paths, key, options, enableCrossOsArchive);
return yield saveCachev2(paths, key, options, enableCrossOsArchive);
case "v1":
default:
return yield saveCachev2(paths, key, options, enableCrossOsArchive);
return yield saveCachev1(paths, key, options, enableCrossOsArchive);
}
});
}

@ -3360,10 +3360,10 @@ function saveCache(paths, key, options, enableCrossOsArchive = false) {
console.debug(`Cache Service Version: ${constants_1.CacheServiceVersion}`);
switch (constants_1.CacheServiceVersion) {
case "v2":
return yield saveCachev1(paths, key, options, enableCrossOsArchive);
return yield saveCachev2(paths, key, options, enableCrossOsArchive);
case "v1":
default:
return yield saveCachev2(paths, key, options, enableCrossOsArchive);
return yield saveCachev1(paths, key, options, enableCrossOsArchive);
}
});
}

@ -3360,10 +3360,10 @@ function saveCache(paths, key, options, enableCrossOsArchive = false) {
console.debug(`Cache Service Version: ${constants_1.CacheServiceVersion}`);
switch (constants_1.CacheServiceVersion) {
case "v2":
return yield saveCachev1(paths, key, options, enableCrossOsArchive);
return yield saveCachev2(paths, key, options, enableCrossOsArchive);
case "v1":
default:
return yield saveCachev2(paths, key, options, enableCrossOsArchive);
return yield saveCachev1(paths, key, options, enableCrossOsArchive);
}
});
}

Loading…
Cancel
Save