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 4812

Download one of a run's artifacts as a zip.

apex artifact download 4812 coverage -o coverage.zip

Subcommands

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.

Arguments
ArgumentDescription
<target>run id, or owner/repo
Options
OptionDescription
--jsonmachine-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.

Arguments
ArgumentDescription
<run>run id
[name]artifact name (optional when the run produced exactly one)
Options
OptionDescription
-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.

Arguments
ArgumentDescription
<run>run id
<id>artifact id (apex artifact list prints them)