mirror of
https://github.com/actions/upload-artifact.git
synced 2025-04-19 00:56:47 +00:00
Add if-no-files-found option to merge action
This commit is contained in:
parent
4c0ff1c489
commit
03a6dff9d4
14 changed files with 202 additions and 44 deletions
|
@ -36,6 +36,14 @@ For most cases, this may not be the most efficient solution. See [the migration
|
|||
# Optional. Default is '*'
|
||||
pattern:
|
||||
|
||||
# The desired behavior if no artifacts are found using the provided pattern.
|
||||
# Available Options:
|
||||
# warn: Output a warning but do not fail the action
|
||||
# error: Fail the action with an error message
|
||||
# ignore: Do not output any warnings or errors, the action does not fail
|
||||
# Optional. Default is 'error'
|
||||
if-no-files-found:
|
||||
|
||||
# If true, the artifacts will be merged into separate directories.
|
||||
# If false, the artifacts will be merged into the root of the destination.
|
||||
# Optional. Default is 'false'
|
||||
|
|
|
@ -9,6 +9,15 @@ inputs:
|
|||
pattern:
|
||||
description: 'A glob pattern matching the artifact names that should be merged.'
|
||||
default: '*'
|
||||
if-no-files-found:
|
||||
description: >
|
||||
The desired behavior if no artifacts are found using the provided pattern.
|
||||
|
||||
Available Options:
|
||||
warn: Output a warning but do not fail the action
|
||||
error: Fail the action with an error message
|
||||
ignore: Do not output any warnings or errors, the action does not fail
|
||||
default: 'error'
|
||||
separate-directories:
|
||||
description: 'When multiple artifacts are matched, this changes the behavior of how they are merged in the archive.
|
||||
If true, the matched artifacts will be extracted into individual named directories within the specified path.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue