-
Notifications
You must be signed in to change notification settings - Fork 38
/
action.yml
79 lines (78 loc) · 2.13 KB
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
name: 'release-downloader'
description:
'Download release assets from private or public github repositories'
author: 'Robin Raju'
inputs:
repository:
description: 'The source repository path. Expected format {owner}/{repo}'
default: ${{ github.repository }}
required: false
latest:
description:
'A flag to choose between latest release and remaining releases'
default: 'false'
required: false
preRelease:
description:
'A flag to download from prerelease. It should be combined with latest
flag'
default: 'false'
required: false
tag:
description: 'The github tag to download the release from'
default: ''
required: false
fileName:
description:
"Name of the file to download (use '*' to download all assets other than
tarball or zipball)"
default: ''
required: false
tarBall:
description: 'Download tarball from assets'
default: 'false'
required: false
zipBall:
description: 'Download zipball from assets'
default: 'false'
required: false
out-file-path:
description:
'Relative path under $GITHUB_WORKSPACE to place the downloaded files'
default: '.'
required: true
extract:
description:
'If the downloaded assets should be extracted to `out-file-path`. Supports
tar, tar.gz and zip'
default: 'false'
required: false
token:
description: 'Github token to access private repos'
default: ${{ github.token }}
required: false
github-api-url:
description:
'The URL of the Github API, only use this input if you are using Github
Enterprise'
default: 'https://api.github.com'
required: false
releaseId:
description: 'The release id to download the file from'
default: ''
required: false
outputs:
tag_name:
description: 'The github tag used to download the release'
release_name:
description: 'The release name / title'
downloaded_files:
description:
"The array of downloaded files, useful when using wildcard '*' to download
multiple files."
runs:
using: 'node20'
main: 'dist/index.js'
branding:
icon: 'download'
color: 'green'