Artifact Upload is a builtin action, you can’t modify it.
This action can be used to upload artifacts in CDS. This is the recommended way to share files between pipelines or stages.
No Requirement
Example of a pipeline using Artifact Upload action:
version: v1.0
name: Pipeline1
stages:
- Stage1
jobs:
- job: Job1
stage: Stage1
steps:
- artifactUpload:
path: '{{.cds.workspace}}/myFile'
tag: '{{.cds.version}}'
myfile
and upload it.You can upload an artifact with the built-in action - or use the worker command.
Example of a step script using worker upload command