1
0
Fork 0

Update download-artifact.ts

pull/1657/head
dhawalseth 2024-02-07 13:38:48 -08:00 committed by GitHub
parent 65251e1c55
commit c3bc391b62
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -140,7 +140,7 @@ export async function downloadArtifactPublic(
try {
core.info(`Starting download of artifact to: ${downloadPath}`)
await streamExtract(location, downloadPath)
await streamExtract(location, downloadPath, options.maxAttempts)
core.info(`Artifact download completed successfully.`)
} catch (error) {
throw new Error(`Unable to download and extract artifact: ${error.message}`)
@ -192,7 +192,7 @@ export async function downloadArtifactInternal(
try {
core.info(`Starting download of artifact to: ${downloadPath}`)
await streamExtract(signedUrl, downloadPath)
await streamExtract(signedUrl, downloadPath, options.maxAttempts)
core.info(`Artifact download completed successfully.`)
} catch (error) {
throw new Error(`Unable to download and extract artifact: ${error.message}`)