mirror of https://github.com/actions/toolkit
Fix cache misses
parent
8d7ed4fb57
commit
7640cf17c1
|
@ -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
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue