1GH-CACHE-DELETE(1) GitHub CLI manual GH-CACHE-DELETE(1)
2
3
4
6 gh-cache-delete - Delete Github Actions caches
7
8
9
11 gh cache delete [<cache-id>| <cache-key> | --all] [flags]
12
13
14
16 Delete Github Actions caches.
17
18 Deletion requires authorization with the "repo" scope.
19
20
21
22
24 -a, --all
25 Delete all caches
26
27
28
30 -R, --repo <[HOST/]OWNER/REPO>
31 Select another repository using the [HOST/]OWNER/REPO format
32
33
34
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
53 gh-cache(1)
54
55
56
57 Oct 2023 GH-CACHE-DELETE(1)