mirror of
https://github.com/actions/toolkit.git
synced 2026-08-27 00:00:33 +02:00
Add the download cache file status code to debug log
This commit is contained in:
Vendored
+4
-1
@@ -271,7 +271,10 @@ 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}`)
|
||||||
|
|
||||||
const downloadResponse = await downloadCacheFile(response.signedDownloadUrl, archivePath)
|
const downloadResponse = await downloadCacheFile(
|
||||||
|
response.signedDownloadUrl,
|
||||||
|
archivePath
|
||||||
|
)
|
||||||
core.debug(`Download response status: ${downloadResponse._response.status}`)
|
core.debug(`Download response status: ${downloadResponse._response.status}`)
|
||||||
|
|
||||||
const archiveFileSize = utils.getArchiveFileSizeInBytes(archivePath)
|
const archiveFileSize = utils.getArchiveFileSizeInBytes(archivePath)
|
||||||
|
|||||||
Reference in New Issue
Block a user