mirror of
https://code.forgejo.org/actions/download-artifact
synced 2025-07-06 02:06:03 +02:00
Fix bug introduced in 4.2.0
This commit is contained in:
parent
c5804ef743
commit
2439186eed
1 changed files with 3 additions and 4 deletions
|
@ -138,12 +138,11 @@ async function run(): Promise<void> {
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
core.info(`Total of ${artifacts.length} artifact(s) downloaded`)
|
core.info(`Total of ${artifacts.length} artifact(s) downloaded`)
|
||||||
core.setOutput(Outputs.DownloadPath, resolvedPath)
|
core.setOutput(Outputs.DownloadPath, resolvedPath)
|
||||||
core.info('Download artifact has finished successfully')
|
core.info('Download artifact has finished successfully')
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
run().catch(err =>
|
run().catch(err =>
|
||||||
core.setFailed(`Unable to download artifact(s): ${err.message}`)
|
core.setFailed(`Unable to download artifact(s): ${err.message}`)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue