mirror of
https://github.com/actions/download-artifact.git
synced 2025-07-23 06:58:29 +02:00
Add warn-on-failure
Some users might not want their workflow jobs to die just because an artifact isn't available...
This commit is contained in:
parent
c3c8e4145a
commit
bd6ef4177a
6 changed files with 77 additions and 9 deletions
|
@ -32,9 +32,15 @@ inputs:
|
|||
If github-token is specified, this is the run that artifacts will be downloaded from.'
|
||||
required: false
|
||||
default: ${{ github.run_id }}
|
||||
warn-on-failure:
|
||||
description: 'Map failure result to an output instead of failing the job'
|
||||
required: false
|
||||
default: false
|
||||
outputs:
|
||||
download-path:
|
||||
description: 'Path of artifact download'
|
||||
failure:
|
||||
description: 'Failure message (if warn-on-failure is set)'
|
||||
runs:
|
||||
using: 'node20'
|
||||
main: 'dist/index.js'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue