step-security/Download workflow artifact

Download and extract an artifact associated with given workflow and commit or other criteria

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
github_tokenGitHub tokenno${{ github.token }}
workflowWorkflow name. If not specified, will be inferred from run_id (if run_id is specified), or will be the current workflow no
workflow_searchMost recent workflow matching all other criteria will be looked up instead of using the current workflow https://docs.github.com/de/rest/actions/workflow-runs?apiVersion=2022-11-28#list-workflow-runs-for-a-repository nofalse
workflow_conclusionWanted status or conclusion to search for in recent runs https://docs.github.com/de/rest/actions/workflow-runs?apiVersion=2022-11-28#list-workflow-runs-for-a-workflow nosuccess
repoRepository name with owner (like actions/checkout)no${{ github.repository }}
prPull request numberno
commitCommit hashno
branchBranch nameno
refCommit hash or branch nameno
eventEvent typeno
run_idWorkflow run idno
run_numberWorkflow run numberno
nameArtifact name (download all artifacts if not specified)no
name_is_regexpTreat artifact name as a regular expression and download only artifacts with matching namesnofalse
pathWhere to unpack the artifactno./
allow_forksAllow forksnofalse
check_artifactsCheck workflow run whether it has an artifactnofalse
search_artifactsSearch workflow runs for artifact with specified namenofalse
skip_unpackChoose to skip unpacking the downloaded artifact(s)nofalse
dry_runCheck the existence of artifact(s) without downloadingno
if_no_artifact_foundChoose how to exit the action if no artifact is found fail, warn or ignore nofail
use_unzipUse system provided `unzip` utility instead of JS library for unpackingnofalse
merge_multipleIf multiple artifacts are found with `name_is_regexp` set to `true`, merge them into one directorynofalse
namedescription
error_messageThe error message, if an error occurs
dry_runBoolean output which is true if the dry run was successful and false otherwise
found_artifactBoolean output which is true if the artifact was found and false otherwise
artifactsJSON array with details about found artifacts