You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: "Github Action for creating Github Releases"
4
-
author: "softprops"
2
+
name: 'GH Release'
3
+
description: 'Github Action for creating Github Releases'
4
+
author: 'softprops'
5
5
inputs:
6
6
body:
7
-
description: "Note-worthy description of changes in release"
7
+
description: 'Note-worthy description of changes in release'
8
8
required: false
9
9
body_path:
10
-
description: "Path to load note-worthy description of changes in release from"
10
+
description: 'Path to load note-worthy description of changes in release from'
11
11
required: false
12
12
name:
13
-
description: "Gives the release a custom name. Defaults to tag name"
13
+
description: 'Gives the release a custom name. Defaults to tag name'
14
14
required: false
15
15
tag_name:
16
-
description: "Gives a tag name. Defaults to github.ref_name. refs/tags/<name> values are normalized to <name>."
16
+
description: 'Gives a tag name. Defaults to github.ref_name. refs/tags/<name> values are normalized to <name>.'
17
17
required: false
18
18
draft:
19
-
description: "Keeps the release as a draft. Defaults to false. When reusing an existing draft release, set this to true to keep it draft; omit it to publish after upload. On immutable-release repositories, use this for prereleases that upload assets and publish the draft later."
19
+
description: 'Keeps the release as a draft. Defaults to false. When reusing an existing draft release, set this to true to keep it draft; omit it to publish after upload. On immutable-release repositories, use this for prereleases that upload assets and publish the draft later.'
20
20
required: false
21
21
prerelease:
22
-
description: "Identify the release as a prerelease. Defaults to false"
22
+
description: 'Identify the release as a prerelease. Defaults to false'
23
23
required: false
24
24
preserve_order:
25
-
description: "Upload artifacts sequentially in the provided order. This does not control the final display order GitHub uses for release assets."
25
+
description: 'Upload artifacts sequentially in the provided order. This does not control the final display order GitHub uses for release assets.'
26
26
required: false
27
27
files:
28
28
description: "Newline-delimited list of path globs for asset files to upload. Escape glob metacharacters when matching literal filenames that contain them. `~/...` expands to the runner home directory. On Windows, both \\ and / path separators are accepted. GitHub may normalize raw asset filenames that contain special characters; the action restores the asset label when possible, but the final download name remains GitHub-controlled."
@@ -31,52 +31,55 @@ inputs:
31
31
description: "Base directory to resolve 'files' globs against. Defaults to the workspace root used by the action step."
32
32
required: false
33
33
overwrite_files:
34
-
description: "Overwrite existing files with the same name. Defaults to true"
34
+
description: 'Overwrite existing files with the same name. Defaults to true'
35
35
required: false
36
36
default: 'true'
37
37
fail_on_unmatched_files:
38
-
description: "Fails if any of the `files` globs match nothing. Defaults to false"
38
+
description: 'Fails if any of the `files` globs match nothing. Defaults to false'
39
39
required: false
40
40
repository:
41
-
description: "Repository to make releases against, in <owner>/<repo> format"
41
+
description: 'Repository to make releases against, in <owner>/<repo> format'
42
42
required: false
43
43
token:
44
-
description: "Authorized GitHub token or PAT. Defaults to github.token when omitted. A non-empty explicit token overrides GITHUB_TOKEN. Passing an empty string treats the token as unset."
44
+
description: 'Authorized GitHub token or PAT. Defaults to github.token when omitted. A non-empty explicit token overrides GITHUB_TOKEN. Passing an empty string treats the token as unset.'
45
45
required: false
46
46
default: ${{ github.token }}
47
47
target_commitish:
48
-
description: "Commitish value that determines where the Git tag is created from. Can be any branch or commit SHA. When creating a new tag for an older commit, `github.token` may not have permission to create the ref; use a PAT or another token with sufficient contents permissions if you hit 403 `Resource not accessible by integration`."
48
+
description: 'Commitish value that determines where the Git tag is created from. Can be any branch or commit SHA. When creating a new tag for an older commit, `github.token` may not have permission to create the ref; use a PAT or another token with sufficient contents permissions if you hit 403 `Resource not accessible by integration`.'
49
49
required: false
50
50
discussion_category_name:
51
-
description: "If specified, a discussion of the specified category is created and linked to the release. The value must be a category that already exists in the repository. If there is already a discussion linked to the release, this parameter is ignored."
51
+
description: 'If specified, a discussion of the specified category is created and linked to the release. The value must be a category that already exists in the repository. If there is already a discussion linked to the release, this parameter is ignored.'
52
52
required: false
53
53
generate_release_notes:
54
-
description: "Whether to automatically generate the name and body for this release. If name is specified, the specified name will be used; otherwise, a name will be automatically generated. If body is specified, the body will be pre-pended to the automatically generated notes."
54
+
description: 'Whether to automatically generate the name and body for this release. If name is specified, the specified name will be used; otherwise, a name will be automatically generated. If body is specified, the body will be pre-pended to the automatically generated notes.'
55
55
required: false
56
56
previous_tag:
57
57
description: "Optional. When generate_release_notes is enabled, use this tag as GitHub's previous_tag_name comparison base. If omitted, GitHub chooses the comparison base automatically."
58
58
required: false
59
-
default: ""
59
+
default: ''
60
60
append_body:
61
-
description: "Append to existing body instead of overwriting it. Default is false."
61
+
description: 'Append to existing body instead of overwriting it. Default is false.'
62
62
required: false
63
63
make_latest:
64
-
description: "Specifies whether this release should be set as the latest release for the repository. Drafts and prereleases cannot be set as latest. Can be `true`, `false`, or `legacy`. Uses GitHub api default if not provided"
64
+
description: 'Specifies whether this release should be set as the latest release for the repository. Drafts and prereleases cannot be set as latest. Can be `true`, `false`, or `legacy`. Uses GitHub api default if not provided'
65
+
required: false
66
+
latest:
67
+
description: 'Update the latest release. Default is false.'
65
68
required: false
66
69
env:
67
-
GITHUB_TOKEN: "As provided by Github Actions"
70
+
GITHUB_TOKEN: 'As provided by Github Actions'
68
71
outputs:
69
72
url:
70
-
description: "URL to the Release HTML Page"
73
+
description: 'URL to the Release HTML Page'
71
74
id:
72
-
description: "Release ID"
75
+
description: 'Release ID'
73
76
upload_url:
74
-
description: "URL for uploading assets to the release"
77
+
description: 'URL for uploading assets to the release'
75
78
assets:
76
-
description: "JSON array containing information about each uploaded asset, in the format given [here](https://docs.github.com/en/rest/reference/repos#upload-a-release-asset--code-samples) (minus the `uploader` field)"
79
+
description: 'JSON array containing information about each uploaded asset, in the format given [here](https://docs.github.com/en/rest/reference/repos#upload-a-release-asset--code-samples) (minus the `uploader` field)'
0 commit comments