Skip to main content

cache

Overview

Namecache
TypeResource
Idgithub.actions.cache

Fields

NameDatatypeDescription
actions_cachesarrayArray of caches
total_countintegerTotal number of caches

Methods

NameAccessible byRequired ParamsDescription
get_actions_cache_listSELECTowner, repoLists the GitHub Actions caches for a repository.
You must authenticate using an access token with the repo scope to use this endpoint.
GitHub Apps must have the actions:read permission to use this endpoint.
delete_actions_cache_by_idDELETEcache_id, owner, repoDeletes a GitHub Actions cache for a repository, using a cache ID.

You must authenticate using an access token with the repo scope to use this endpoint.

GitHub Apps must have the actions:write permission to use this endpoint.
delete_actions_cache_by_keyDELETEkey, owner, repoDeletes one or more GitHub Actions caches for a repository, using a complete cache key. By default, all caches that match the provided key are deleted, but you can optionally provide a Git ref to restrict deletions to caches that match both the provided key and the Git ref.

You must authenticate using an access token with the repo scope to use this endpoint.

GitHub Apps must have the actions:write permission to use this endpoint.