gh cache delete
gh cache delete [<cache-id>| <cache-key> | --all] [flags]
Delete GitHub Actions caches.
Deletion requires authorization with the "repo" scope.
选项
-a,--all- 删除所有缓存
从父命令继承的选项
-R,--repo <[HOST/]OWNER/REPO>- 使用 [HOST/]OWNER/REPO 格式选择另一个仓库
示例
# Delete a cache by id
$ gh cache delete 1234
# Delete a cache by key
$ gh cache delete cache-key
# Delete a cache by id in a specific repo
$ gh cache delete 1234 --repo cli/cli
# Delete all caches
$ gh cache delete --all