|
|
@ -12756,9 +12756,7 @@ function restoreCachev2(paths, primaryKey, restoreKeys, options, enableCrossOsAr
|
|
|
|
restoreKeys,
|
|
|
|
restoreKeys,
|
|
|
|
version: utils.getCacheVersion(paths, compressionMethod, enableCrossOsArchive)
|
|
|
|
version: utils.getCacheVersion(paths, compressionMethod, enableCrossOsArchive)
|
|
|
|
};
|
|
|
|
};
|
|
|
|
core.debug(`GetCacheEntryDownloadURLRequest: ${JSON.stringify(twirpClient)}`);
|
|
|
|
|
|
|
|
const response = yield twirpClient.GetCacheEntryDownloadURL(request);
|
|
|
|
const response = yield twirpClient.GetCacheEntryDownloadURL(request);
|
|
|
|
core.debug(`GetCacheEntryDownloadURLResponse: ${JSON.stringify(response)}`);
|
|
|
|
|
|
|
|
if (!response.ok) {
|
|
|
|
if (!response.ok) {
|
|
|
|
core.warning(`Cache not found for keys: ${keys.join(', ')}`);
|
|
|
|
core.warning(`Cache not found for keys: ${keys.join(', ')}`);
|
|
|
|
return undefined;
|
|
|
|
return undefined;
|
|
|
|