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
| token |**Required.** The token this action should use for accessing the GitHub API. Most often you'll want to set this to `${{ secrets.GITHUB_TOKEN }}`|
23
-
| tag |**Required.** Name of the tag for the release. |
24
-
| name |**Required for new releases.** The title of the release. If not set, the title will not be changed... unless the release does not exist; then it'll fail |
25
-
| description |**Required for new releases.** The description of the release. If not set, the description will not be changed... unless the release does not exist; then it'll fail |
26
-
| prerelease |**Optional.** Whether the release should be marked as a prerelease. Accepted values: true, false. Defaults to false for new releases, keeps the current setting for existing releases |
27
-
| draft |**Optional.** Whether the release should be marked as a draft. Accepted values: true, false. Defaults to false for new releases, keeps the current setting for existing releases |
28
-
| target_commit |**Optional.** Commit, branch or tag (or anything `git rev-parse` can resolve) the release tag should be created at or moved to. Defaults to `$GITHUB_SHA`, aka. the "current" commit. |
29
-
| files |**Optional.** A newline seperated list of files to attach to the release. Recursive globbing is supported (anything the python `glob.glob()` function can resolve). |
30
-
| fail_on_no_files |**Optional.** Should the action fail if no filename globs match? Does nothing if no files were listed. Accepted values: true, false. Default: false. |
31
-
| clear_attachments |**Optional.** Should we remove all existing attachments from the release before adding new ones? Accepted values: true, false. Default: false. |
| token |**Required.** The token this action should use for accessing the GitHub API. Most often you'll want to set this to `${{ secrets.GITHUB_TOKEN }}`|
23
+
| tag |**Required.** Name of the tag for the release. |
24
+
| name |**Required for new releases.** The title of the release. If not set, the title will not be changed... unless the release does not exist; then it'll fail |
25
+
| description |**Required for new releases.** The description of the release. If not set, the description will not be changed... unless the release does not exist; then it'll fail |
26
+
| prerelease |**Optional.** Whether the release should be marked as a prerelease. Accepted values: true, false. Defaults to false for new releases, keeps the current setting for existing releases |
27
+
| draft |**Optional.** Whether the release should be marked as a draft. Accepted values: true, false. Defaults to false for new releases, keeps the current setting for existing releases |
28
+
| target_commit |**Optional.** Commit, branch or tag (or anything `git rev-parse` can resolve) the release tag should be created at or moved to. Defaults to `$GITHUB_SHA`, aka. the "current" commit, ignored when `skip_tag_creation` is set to true. |
29
+
| files |**Optional.** A newline seperated list of files to attach to the release. Recursive globbing is supported (anything the python `glob.glob()` function can resolve). |
30
+
| fail_on_no_files |**Optional.** Should the action fail if no filename globs match? Does nothing if no files were listed. Accepted values: true, false. Default: false. |
31
+
| clear_attachments |**Optional.** Should we remove all existing attachments from the release before adding new ones? Accepted values: true, false. Default: false. |
32
+
| skip_tag_creation |**Optional.** Should the action skip tag creation? Set to true if the tag already points to the correct commit. Accepted values: true, false. Default: false. |
32
33
33
34
### Environment variables this action uses
34
35
Only default environment variables: `$GITHUB_SHA`, `$GITHUB_API_URL` and `$GITHUB_REPOSITORY`
@@ -96,11 +97,11 @@ selfhosted runner's disk space, you can use the prebuilt images instead.
96
97
97
98
To replace the action with the prebuilt image, simply replace
0 commit comments