Skip to content

avr artifact

Manage workflow artifacts.

Terminal window
avr artifact [OPTIONS] COMMAND [ARGS]...

Delete ART_ID from the selected repository.

Terminal window
avr artifact delete [OPTIONS] ART_ID
Terminal window
JSON FIELDS
deleted, id

Arguments

  • ART_ID

Options

  • --org, -o <TEXT> — Organization ID or slug; defaults to the configured organization.
  • --repo, -R <TEXT> — Repository name or ID; defaults to the current git repository.
  • --yes, -y — Skip confirmation.
  • --json <TEXT> — Output JSON. Pass comma-separated field names, "*" for all fields, or "?" to list available fields.
  • -q, --jq <TEXT> — Filter --json output through a jq expression.

Download ART_ID and verify its size and SHA-256 before replacing the destination.

Terminal window
avr artifact download [OPTIONS] ART_ID
Terminal window
JSON FIELDS
digest_sha256, id, path, size_bytes

Arguments

  • ART_ID

Options

  • --org, -o <TEXT> — Organization ID or slug; defaults to the configured organization.
  • --repo, -R <TEXT> — Repository name or ID; defaults to the current git repository.
  • --path <PATH> — Destination directory or filename. ZIPs stay archived. (default: .)
  • --json <TEXT> — Output JSON. Pass comma-separated field names, "*" for all fields, or "?" to list available fields.
  • -q, --jq <TEXT> — Filter --json output through a jq expression.

Get metadata for ART_ID in the selected repository.

Terminal window
avr artifact get [OPTIONS] ART_ID
Terminal window
JSON FIELDS
archived, completed_at, created_at, digest_sha256, expires_at,
file_count, file_name, id, name, repository_id, run_attempt, run_kind,
size_bytes, state, workflow_run_id

Arguments

  • ART_ID

Options

  • --org, -o <TEXT> — Organization ID or slug; defaults to the configured organization.
  • --repo, -R <TEXT> — Repository name or ID; defaults to the current git repository.
  • --json <TEXT> — Output JSON. Pass comma-separated field names, "*" for all fields, or "?" to list available fields.
  • -q, --jq <TEXT> — Filter --json output through a jq expression.

List artifacts in REPO, optionally restricted to one run.

Terminal window
avr artifact list [OPTIONS] REPO
Terminal window
JSON FIELDS
archived, completed_at, created_at, digest_sha256, expires_at,
file_count, file_name, id, name, repository_id, run_attempt, run_kind,
size_bytes, state, workflow_run_id

Arguments

  • REPO

Options

  • --org, -o <TEXT> — Organization ID or slug.
  • --run-id <TEXT> — Numeric GitHub run ID or run- ID.
  • --limit <INTEGER RANGE> — Maximum artifacts per page. (default: 50)
  • --cursor <TEXT> — Continue from a previous page's cursor.
  • --json <TEXT> — Output JSON. Pass comma-separated field names, "*" for all fields, or "?" to list available fields.
  • -q, --jq <TEXT> — Filter --json output through a jq expression.