add a parameter to upload a path to artifacts after running a script in the run job
Motivation:
Running a script often produces new files to be stored as artifacts. For example, many front-end projects use a bundler such as Webpack or Vite, and TypeScript projects need to be transpiled to JavaScript. These tools are often controlled with a build, compile or webpack script.
After this step, the produced files often need to be persisted somewhere, and artifacts seems like a good place.
Checklist:
[x] All new jobs, commands, executors, parameters have descriptions.
[ ] Usage Example version numbers have been updated.
SEMVER Update Type:
Description:
run
jobMotivation:
Running a script often produces new files to be stored as artifacts. For example, many front-end projects use a bundler such as Webpack or Vite, and TypeScript projects need to be transpiled to JavaScript. These tools are often controlled with a
build
,compile
orwebpack
script.After this step, the produced files often need to be persisted somewhere, and artifacts seems like a good place.
Checklist: