Add the download cache file status code to debug log

This commit is contained in:
Bassem Dghaidi
2024-11-25 07:34:07 -08:00
committed by GitHub
parent 2d2513915c
commit 0e321b26f4

View File

@@ -271,7 +271,8 @@ async function restoreCacheV2(
core.debug(`Archive path: ${archivePath}`) core.debug(`Archive path: ${archivePath}`)
core.debug(`Starting download of archive to: ${archivePath}`) core.debug(`Starting download of archive to: ${archivePath}`)
await downloadCacheFile(response.signedDownloadUrl, archivePath) const downloadResponse = await downloadCacheFile(response.signedDownloadUrl, archivePath)
core.debug(`Download response status: ${downloadResponse._response.status}`)
const archiveFileSize = utils.getArchiveFileSizeInBytes(archivePath) const archiveFileSize = utils.getArchiveFileSizeInBytes(archivePath)
core.info( core.info(