Reference
apex artifact
Artifacts: what a run produced, getting it out, and dropping one
apex artifact [command]Examples
What a run produced.
apex artifact list 4812Download one of a run's artifacts as a zip.
apex artifact download 4812 coverage -o coverage.zipSubcommands
apex artifact list
Artifacts a run or a repository holds, newest first
apex artifact list [options] <target>With an API token, needs the permission actions:read.
| Argument | Description |
|---|---|
<target> | run id, or owner/repo |
| Option | Description |
|---|---|
--json | machine-readable output |
apex artifact download
Download one artifact of a run — a zip, or the file itself when it was uploaded with archive: false
apex artifact download [options] <run> [name]With an API token, needs the permission actions:read.
| Argument | Description |
|---|---|
<run> | run id |
[name] | artifact name (optional when the run produced exactly one) |
| Option | Description |
|---|---|
-o, --output <path> | where to write it (default: <name>.zip here, or the file's own name) |
apex artifact delete
Delete one artifact by id
apex artifact delete <run> <id>With an API token, needs the permission actions:write.
| Argument | Description |
|---|---|
<run> | run id |
<id> | artifact id (apex artifact list prints them) |