mirror of
https://github.com/softprops/action-gh-release.git
synced 2025-06-28 14:16:02 +00:00
Merge branch 'master' into feature/GH-9_Add_release_ID_to_outputs
This commit is contained in:
commit
cd4821a6a3
8 changed files with 25 additions and 14 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
|
||||
|
@ -193,6 +194,8 @@ The following outputs can be accessed via `${{ steps.<step-id>.outputs }}` from
|
|||
|-------------|---------|-----------------------------------------------------------------|
|
||||
| `url` | String | Github.com URL for the release |
|
||||
| `id` | String | Release ID |
|
||||
| `upload_url`| String | URL for uploading assets to the release |
|
||||
|
||||
|
||||
#### environment variables
|
||||
|
||||
|
@ -201,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