tech-innovation/create-release
Create a release for a tag in your repository
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
- Runtime
- Deprecated runtime
Inputs
| name | description | required | default |
|---|---|---|---|
| github-token | A token with permission to create and delete releases. Generally secrets.GITHUB_TOKEN. | yes | — |
| tag-name | The name of the tag. | yes | — |
| release-name | The name of the release. Defaults to the tag name if not provided. | no | — |
| commitish | Specifies the commitish value that identifies the commit to tag. Can be any branch or commit SHA. | yes | — |
| body | Text describing the contents of the release. | no | — |
| body-path | Path to file with information about the release. | no | — |
| draft | Flag indicating whether to create a draft (unpublished) release or a published one. Accepted Values: `true|false`. Default: `false`. | no | false |
| prerelease | Flag indicating whether this release is a pre-release or a full release. Accepted Values: `true|false`. Default: `false`. | no | false |
| delete-existing-release | Flag indicating whether to delete then re-create a release if it already exists. Accepted Values: `true|false`. Default: `false`. | no | false |
| generate-release-notes | Flag indicating whether to auto-generate release notes for the release. Accepted Values: `true|false`. Default: `false`. | no | false |
| asset-path | The path to the asset you want to upload. Required when uploading an asset. | no | — |
| asset-name | The name of the asset you want to upload. Required when uploading an asset. | no | — |
| asset-content-type | The content-type of the asset you want to upload. See the supported Media Types here: https://www.iana.org/assignments/media-types/media-types.xhtml for more information. Required when uploading an asset. | no | — |
Outputs
| name | description |
|---|---|
| release-id | Release ID |
| release-html-url | URL to the Release HTML Page |
| asset-upload-url | URL for uploading assets to the release |
| asset-browser-download-url | URL users can navigate to in order to download the uploaded asset |