mirror of
https://github.com/actions/download-artifact.git
synced 2025-07-27 08:58:28 +02:00
Support downloading artifacts with common prefix
This commit adds the `name-prefix` input parameter to allow downloading multiple artifacts of which the names share a common prefix. This is useful for aggregating artifacts produced by matrix runs (e.g. reports from matrixed test jobs). Provides a smoother migration path for the use cases in #248.
This commit is contained in:
parent
1bd0606e08
commit
15051941e0
4 changed files with 32 additions and 5 deletions
|
@ -3,7 +3,11 @@ description: 'Download a build artifact that was previously uploaded in the work
|
|||
author: 'GitHub'
|
||||
inputs:
|
||||
name:
|
||||
description: 'Name of the artifact to download. If unspecified, all artifacts for the run are downloaded'
|
||||
description: 'Name of the artifact to download. If unspecified, all artifacts for the run are downloaded,
|
||||
unless filtered out by name-prefix.'
|
||||
required: false
|
||||
name-prefix:
|
||||
description: 'Download all artifacts starting with this prefix.'
|
||||
required: false
|
||||
path:
|
||||
description: 'Destination path. Supports basic tilde expansion. Defaults to $GITHUB_WORKSPACE'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue