Scroll to navigation

GH-CACHE-LIST(1) GitHub CLI manual GH-CACHE-LIST(1)

NAME

gh-cache-list - List Github Actions caches

SYNOPSIS

gh cache list [flags]

OPTIONS

Maximum number of caches to fetch

Order of caches returned: {asc|desc}

Sort fetched caches: {created_at|last_accessed_at|size_in_bytes}

OPTIONS INHERITED FROM PARENT COMMANDS

Select another repository using the [HOST/]OWNER/REPO format

EXAMPLE

# List caches for current repository
$ gh cache list
# List caches for specific repository
$ gh cache list --repo cli/cli
# List caches sorted by least recently accessed
$ gh cache list --sort last_accessed_at --order asc

SEE ALSO

gh-cache(1)

Dec 2023