ankiotomas/GH Release
Github Action for creating Github Releases
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stalelast commit Nov 2, 2023
- License
- MIT
Pinned Snippet
uses: ankiotomas/action-gh-release@edbeb0693e033382921ff19376357d604da79b14 # v4.0.1tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| body | Note-worthy description of changes in release | no | — |
| body_path | Path to load note-worthy description of changes in release from | no | — |
| name | Gives the release a custom name. Defaults to tag name | no | — |
| tag_name | Gives a tag name. Defaults to github.GITHUB_REF | no | — |
| draft | Creates a draft release. Defaults to false | no | — |
| prerelease | Identify the release as a prerelease. Defaults to false | no | — |
| files | Newline-delimited list of path globs for asset files to upload | no | — |
| fail_on_unmatched_files | Fails if any of the `files` globs match nothing. Defaults to false | no | — |
| repository | Repository to make releases against, in <owner>/<repo> format | no | — |
| token | Authorized secret GitHub Personal Access Token. Defaults to github.token | no | ${{ github.token }} |
| target_commitish | Commitish value that determines where the Git tag is created from. Can be any branch or commit SHA. | no | — |
| discussion_category_name | 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. | no | — |
| generate_release_notes | 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. | no | — |
| append_body | Append to existing body instead of overwriting it. Default is false. | no | — |
| platform | use this action in github or gitea or other platform | — | github |
| url | code platform | — | https://api.github.com |
Outputs
| name | description |
|---|---|
| url | URL to the Release HTML Page |
| id | Release ID |
| upload_url | URL for uploading assets to the release |
| assets | 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) |