-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
142 lines (138 loc) · 5.81 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
name: base-release-action
description: "An action to create incremented releases in a similar style to Jenkins."
inputs:
appID:
description: 'ID of the GitHub App to manage the release system.'
required: true
appPrivateKey:
description: 'Private key of the GitHub App to manage the release system.'
required: true
files:
description: 'Comma-separated or newline-separated list of release files with optional "label:" prefix.'
required: true
discordWebhook:
description: 'Discord webhook to post the release to.'
required: false
default: 'none'
discussionCategory:
description: 'The category to use for the discussion. Defaults to "none" if not specified.'
required: false
default: 'none'
draftRelease:
description: 'Whether or not the release should be a draft. Defaults to false if not specified.'
required: false
default: 'false'
ghApiUrl:
description: 'The GitHub API URL to use. Defaults to the api. plus the repo domain if not specified.'
required: false
default: 'auto'
ghReleaseNotes:
description: 'Whether or not to let GitHub auto-generate its release notes. Defaults to false if not specified.'
required: false
default: 'false'
includeReleaseInfo:
description: 'Whether or not to include the asset hashes in a release.json file. Defaults to true if not specified.'
required: false
default: 'true'
lastCommit:
description: 'The last commit hash to use for the release. Defaults to the commit that triggered the workflow if not specified.'
required: false
default: 'auto'
latestRelease:
description: 'Whether or not the release should be marked as the latest release. Defaults to auto if not specified, which will be true unless this is a pre-release.'
required: false
default: 'auto'
preRelease:
description: 'Whether or not the release is a pre-release. Inferred by the branch if not specified.'
required: false
default: 'auto'
releaseBody:
description: 'A file containing the body of the release. Defaults to the commit changelog if not specified.'
required: false
default: 'auto'
releaseBodyDependencyUsage:
description: 'Whether or not to include the dependency usage in the release body. Defaults to "none" if not specified. Currently accepts "java" or "nodejs".'
required: false
default: 'none'
releaseBodyDependencyJavaArtifactId:
description: 'The artifact ID to use for the Java dependency usage.'
required: false
releaseBodyDependencyJavaGroupId:
description: 'The group ID to use for the Java dependency usage.'
required: false
releaseBodyDependencyJavaMavenRepo:
description: 'The Maven repo to use for Java dependency usage.'
required: false
releaseBodyDependencyJavaVersion:
description: 'The version to use for Java dependency usage.'
required: false
releaseBodyDependencyNodejsPackage:
description: 'The package to use for Node.js dependency usage.'
required: false
releaseBodyDependencyNodejsVarName:
description: 'The variable name to use for Node.js dependency usage.'
required: false
releaseBodyDependencyNodejsVersion:
description: 'The version to use for Node.js dependency usage.'
required: false
releaseChangeLimit:
description: 'The maximum number of changes to include in the release body. Defaults to 15 if not specified. Set to -1 to include all changes.'
required: false
default: '15'
releaseEnabled:
description: 'Whether or not the release should be created. Defaults to true if not specified.'
required: false
default: 'true'
releaseName:
description: 'The title of the release. Defaults to "Build ${tagBase} (${branch})" if not specified.'
required: false
default: 'auto'
saveMetadata:
description: 'Whether or not to save the offline release metadata to metadata.json. Defaults to false if not specified.'
required: false
default: 'false'
tagBase:
description: 'The tag base to use for the release. Auto increment from the last tag will be used if not specified.'
required: false
default: 'auto'
tagIncrement:
description: 'If the build tag should be incremented. Defaults to true if not specified and tag is a number.'
required: false
default: 'true'
tagPrefix:
description: 'The prefix to use for the tag. Defaults to the branch if not specified.'
required: false
default: 'auto'
tagSeparator:
description: 'The separator to use between the tag prefix and the tag base. Defaults to "-" if not specified.'
required: false
default: '-'
updateReleaseData:
description: 'Whether or not to update the release data in repository variable storage.'
required: false
default: 'true'
outputs:
releaseID:
description: 'The ID of the release.'
releaseAPIURL:
description: 'The API URL of the release.'
releaseAssetsURL:
description: 'The asset URL for the release.'
releaseBrowserURL:
description: 'The browser URL of the release.'
tag:
description: 'The tag of the release.'
tagBase:
description: 'The base of the tag of the release.'
tagPrefix:
description: 'The prefix of the tag of the release.'
tagSeparator:
description: 'The separator of the tag of the release.'
uploadAssetsURL:
description: 'The asset upload URL for the release.'
runs:
using: "node20"
main: "dist/index.js"
branding:
icon: "tag"
color: "gray-dark"