mirror of
https://github.com/softprops/action-gh-release.git
synced 2025-06-28 14:16:02 +00:00
Integrate latest changes from upstream.
This commit is contained in:
commit
6c0a3f10db
5 changed files with 10 additions and 5 deletions
|
@ -164,6 +164,7 @@ jobs:
|
|||
body_path: ${{ github.workflow }}-CHANGELOG.txt
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
GITHUB_REPOSITORY: my_gh_org/my_gh_repo
|
||||
```
|
||||
|
||||
### 💅 Customizing
|
||||
|
@ -181,7 +182,6 @@ The following are optional as `step.with` keys
|
|||
| `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` |
|
||||
| `repository` | String | Name of a target repository in `<owner>/<repo>` format. defaults to the current repository |
|
||||
| `fail_on_unmatched_files` | Boolean | Indicator of whether to fail if any of the `files` globs match nothing |
|
||||
| `target_commitish` | String | Commitish value that determines where the Git tag is created from. Can be any branch or commit SHA. |
|
||||
|
||||
|
@ -194,6 +194,7 @@ The following outputs can be accessed via `${{ steps.<step-id>.outputs }}` from
|
|||
| Name | Type | Description |
|
||||
|-------------|---------|-----------------------------------------------------------------|
|
||||
| `url` | String | Github.com URL for the release |
|
||||
| `upload_url`| String | URL for uploading assets to the release |
|
||||
|
||||
|
||||
#### environment variables
|
||||
|
@ -203,6 +204,7 @@ The following are *required* as `step.env` keys
|
|||
| Name | Description |
|
||||
|----------------|--------------------------------------|
|
||||
| `GITHUB_TOKEN` | GITHUB_TOKEN as provided by `secrets`|
|
||||
| `GITHUB_REPOSITORY` | Name of a target repository in `<owner>/<repo>` format. defaults to the current repository|
|
||||
|
||||
|
||||
> **⚠️ Note:** This action was previously implemented as a Docker container, limiting its use to GitHub Actions Linux virtual environments only. With recent releases, we now support cross platform usage. You'll need to remove the `docker://` prefix in these versions
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue