[Artifacts] Prep for @actions/artifact 0.6.0 release (#958)

* actions-artifact-0.6.0 release

* Fix lint issue

* Update RELEASES.md
This commit is contained in:
Konrad Pabjan
2021-12-06 18:39:23 -05:00
committed by GitHub
parent 45a3c7bf81
commit 6fcdd6ab0d
6 changed files with 16 additions and 7 deletions

View File

@@ -240,6 +240,9 @@ Note: The size of downloaded zips can differ significantly from the reported siz
while (downloadedArtifacts < artifacts.count) {
const currentArtifactToDownload = artifacts.value[downloadedArtifacts]
downloadedArtifacts += 1
core.info(
`starting download of artifact ${currentArtifactToDownload.name} : ${downloadedArtifacts}/${artifacts.count}`
)
// Get container entries for the specific artifact
const items = await downloadHttpClient.getContainerItems(

View File

@@ -228,9 +228,6 @@ export class DownloadHttpClient {
let response: IHttpClientResponse
try {
response = await makeDownloadRequest()
if (core.isDebug()) {
displayHttpDiagnostics(response)
}
} catch (error) {
// if an error is caught, it is usually indicative of a timeout so retry the download
core.info('An error occurred while attempting to download a file')

View File

@@ -57,7 +57,7 @@ export class StatusReporter {
`Uploaded ${fileName} (${percentage.slice(
0,
percentage.indexOf('.') + 2
)}%) chunks ${chunkStartIndex}:${chunkEndIndex}`
)}%) bytes ${chunkStartIndex}:${chunkEndIndex}`
)
}