mirror of
https://gitea.com/actions/gitea-release-action.git
synced 2025-06-25 01:41:08 +02:00
This commit is contained in:
25
README.md
25
README.md
@ -6,18 +6,19 @@ An action to support publishing release to Gitea.
|
||||
|
||||
The following are optional as `step.with` keys
|
||||
|
||||
| Name | Type | Description |
|
||||
| -------------- | ------- | ------------------------------------------------------------------------------------------- |
|
||||
| `server_url` | String | the base url of the gitea API. Defaults to `github.server_url` |
|
||||
| `body` | String | Text communicating notable changes in this release |
|
||||
| `body_path` | String | Path to load text communicating notable changes in this release |
|
||||
| `draft` | Boolean | Creates a draft release. Defaults to false |
|
||||
| `prerelease` | Boolean | Indicator of whether or not is a prerelease |
|
||||
| `files` | String | Newline-delimited globs of paths to assets to upload for release |
|
||||
| `name` | String | Name of the release. Defaults to tag name |
|
||||
| `tag_name` | String | Name of a tag. Defaults to `github.ref_name` |
|
||||
| `repository` | String | Name of a target repository in `<owner>/<repo>` format. Defaults to `github.repository` |
|
||||
| `token` | String | Gitea Token. Defaults to `${{ github.token }}` |
|
||||
| Name | Type | Description |
|
||||
| ------------------ | ------- | --------------------------------------------------------------------------------------------------- |
|
||||
| `server_url` | String | the base url of the gitea API. Defaults to `github.server_url` |
|
||||
| `body` | String | Text communicating notable changes in this release |
|
||||
| `body_path` | String | Path to load text communicating notable changes in this release |
|
||||
| `draft` | Boolean | Creates a draft release. Defaults to false |
|
||||
| `prerelease` | Boolean | Indicator of whether or not is a prerelease |
|
||||
| `files` | String | Newline-delimited globs of paths to assets to upload for release |
|
||||
| `name` | String | Name of the release. Defaults to tag name |
|
||||
| `tag_name` | String | Name of a tag. Defaults to `github.ref_name` |
|
||||
| `repository` | String | Name of a target repository in `<owner>/<repo>` format. Defaults to `github.repository` |
|
||||
| `token` | String | Gitea Token. Defaults to `${{ github.token }}` |
|
||||
| `target_commitish` | String | Commitish value that determines where the Git tag is created from. Can be any branch or commit SHA. |
|
||||
|
||||
## Example usage
|
||||
|
||||
|
Reference in New Issue
Block a user