1GH-CACHE-DELETE(1)             GitHub CLI manual            GH-CACHE-DELETE(1)
2
3
4

NAME

6       gh-cache-delete - Delete Github Actions caches
7
8
9

SYNOPSIS

11       gh cache delete [<cache-id>| <cache-key> | --all] [flags]
12
13
14

DESCRIPTION

16            Delete Github Actions caches.
17
18            Deletion requires authorization with the "repo" scope.
19
20
21
22

OPTIONS

24       -a, --all
25              Delete all caches
26
27
28

OPTIONS INHERITED FROM PARENT COMMANDS

30       -R, --repo <[HOST/]OWNER/REPO>
31              Select another repository using the [HOST/]OWNER/REPO format
32
33
34

EXAMPLE

36       # Delete a cache by id
37       $ gh cache delete 1234
38
39       # Delete a cache by key
40       $ gh cache delete cache-key
41
42       # Delete a cache by id in a specific repo
43       $ gh cache delete 1234 --repo cli/cli
44
45       # Delete all caches
46       $ gh cache delete --all
47
48
49
50
51

SEE ALSO

53       gh-cache(1)
54
55
56
57                                   Nov 2023                 GH-CACHE-DELETE(1)
Impressum