Artifact Download is a builtin action, you can’t modify it.
This action can be used to retrieve an artifact previously uploaded by an Artifact Upload.
No Requirement
Example of a pipeline using Artifact Download action:
version: v1.0
name: Pipeline1
stages:
- Stage1
jobs:
- job: Job1
stage: Stage1
steps:
- artifactDownload:
path: '{{.cds.workspace}}'
pattern: '*.tag.gz'
tag: '{{.cds.version}}'
upload artifact
and another doing a download artifact
.You can download an artifact with the built-in action - or use the worker command.
Example of a step script using worker download command