[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 authored and GitHub committed 2021-12-06 18:39:23 -05:00
1 parent 41b89b7ea6
commit 455aabdd18
6 files changed
+16 -7

No files matched your search

+3
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(
-3
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')
+1 -1
View File
@@ -57,7 +57,7 @@ export class StatusReporter {
`Uploaded ${fileName} (${percentage.slice(
0,
percentage.indexOf('.') + 2
)}%) chunks ${chunkStartIndex}:${chunkEndIndex}`
)}%) bytes ${chunkStartIndex}:${chunkEndIndex}`
)
}