1GH-RUN-DOWNLOAD(1)             GitHub CLI manual            GH-RUN-DOWNLOAD(1)
2
3
4

NAME

6       gh-run-download - Download artifacts generated by a workflow run
7
8
9

SYNOPSIS

11       gh run download [<run-id>] [flags]
12
13
14

DESCRIPTION

16       Download artifacts generated by a GitHub Actions workflow run.
17
18
19       The contents of each artifact will be extracted under separate directo‐
20       ries based on the artifact name. If only a single  artifact  is  speci‐
21       fied, it will be extracted into the current directory.
22
23
24

OPTIONS

26       -D, --dir <string>
27              The directory to download artifacts into
28
29
30       -n, --name <stringArray>
31              Download artifacts that match any of the given names
32
33
34       -p, --pattern <stringArray>
35              Download artifacts that match a glob pattern
36
37
38

OPTIONS INHERITED FROM PARENT COMMANDS

40       -R, --repo <[HOST/]OWNER/REPO>
41              Select another repository using the [HOST/]OWNER/REPO format
42
43
44

EXAMPLE

46       # Download all artifacts generated by a workflow run
47       $ gh run download <run-id>
48
49       # Download a specific artifact within a run
50       $ gh run download <run-id> -n <name>
51
52       # Download specific artifacts across all runs in a repository
53       $ gh run download -n <name1> -n <name2>
54
55       # Select artifacts to download interactively
56       $ gh run download
57
58
59
60
61

SEE ALSO

63       gh-run(1)
64
65
66
67                                   Nov 2023                 GH-RUN-DOWNLOAD(1)
Impressum