Add fix cache paths

This commit is contained in:
Bassem Dghaidi authored and GitHub committed 2024-06-17 03:36:06 -07:00
1 parent 0fb32f1fdb
commit a3ecc360ef
2 files changed
+5 -3

No files matched your search

+2 -1
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]