Add fix cache paths

This commit is contained in:
Bassem Dghaidi
2024-06-17 03:36:06 -07:00
committed by GitHub
parent e1b7e78d60
commit 04d1a7ec3c
2 changed files with 5 additions and 3 deletions

View File

@@ -223,8 +223,9 @@ async function restoreCachev2(
return undefined
}
core.info(`Cache hit for: ${signedDownloadURL.blobs[0].key}`)
core.info(`Starting download of artifact to: ${paths[0]}`)
await StreamExtract(signedDownloadURL.blobs[0].signedUrl, paths[0])
await StreamExtract(signedDownloadURL.blobs[0].signedUrl, path.dirname(paths[0]))
core.info(`Artifact download completed successfully.`)
return keys[0]