Merge branch 'master' into feature/GH-9_Add_release_ID_to_outputs

This commit is contained in:
Albertin Loic 2021-04-30 17:56:06 +02:00
commit cd4821a6a3
No known key found for this signature in database
GPG key ID: CEC427E796B6C023
8 changed files with 25 additions and 14 deletions

View file

@ -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