1
0
Fork 0

Fix cache misses

Link-/blobcache-spike
Bassem Dghaidi 2024-06-17 02:35:25 -07:00 committed by GitHub
parent 8d7ed4fb57
commit 7640cf17c1
1 changed files with 2 additions and 2 deletions

View File

@ -226,11 +226,11 @@ async function restoreCachev2(
core.info(`Starting download of artifact to: ${paths[0]}`) core.info(`Starting download of artifact to: ${paths[0]}`)
await StreamExtract(signedDownloadURL.blobs[0].signedUrl, paths[0]) await StreamExtract(signedDownloadURL.blobs[0].signedUrl, paths[0])
core.info(`Artifact download completed successfully.`) core.info(`Artifact download completed successfully.`)
return keys[0]
} catch (error) { } catch (error) {
throw new Error(`Unable to download and extract cache: ${error.message}`) throw new Error(`Unable to download and extract cache: ${error.message}`)
} }
return undefined
} }
/** /**