Skip to content

Commit 0ad4f70

Browse files
authored
Document action outputs introduced in #1300 (#1406)
1 parent 378bacb commit 0ad4f70

File tree

1 file changed

+12
-8
lines changed

1 file changed

+12
-8
lines changed

README.md

+12-8
Original file line numberDiff line numberDiff line change
@@ -377,14 +377,18 @@ The Release Drafter GitHub Action accepts a number of optional inputs directly i
377377

378378
The Release Drafter GitHub Action sets a couple of outputs which can be used as inputs to other Actions in the workflow ([example](https://github.com/actions/upload-release-asset#example-workflow---upload-a-release-asset)).
379379

380-
| Output | Description |
381-
| ------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
382-
| `id` | The ID of the release that was created or updated. |
383-
| `name` | The name of this release. |
384-
| `tag_name` | The name of the tag associated with this release. |
385-
| `body` | The body of the drafted release, useful if it needs to be included in files. |
386-
| `html_url` | The URL users can navigate to in order to view the release. i.e. `https://github.com/octocat/Hello-World/releases/v1.0.0`. |
387-
| `upload_url` | The URL for uploading assets to the release, which could be used by GitHub Actions for additional uses, for example the [`@actions/upload-release-asset GitHub Action`](https://www.github.com/actions/upload-release-asset). |
380+
| Output | Description |
381+
| ------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
382+
| `id` | The ID of the release that was created or updated. |
383+
| `name` | The name of this release. |
384+
| `tag_name` | The name of the tag associated with this release. |
385+
| `body` | The body of the drafted release, useful if it needs to be included in files. |
386+
| `html_url` | The URL users can navigate to in order to view the release. i.e. `https://github.com/octocat/Hello-World/releases/v1.0.0`. |
387+
| `upload_url` | The URL for uploading assets to the release, which could be used by GitHub Actions for additional uses, for example the [`@actions/upload-release-asset GitHub Action`](https://www.github.com/actions/upload-release-asset). |
388+
| `resolved_version` | Version resolved by [Version Resolver](#version-resolver). i.e. `6.3.1` |
389+
| `major_version` | Major part of resolved version by [Version Resolver](#version-resolver). i.e. `6` for version `6.3.1` |
390+
| `minor_version` | Minor part of resolved version by [Version Resolver](#version-resolver). i.e. `3` for version `6.3.1` |
391+
| `patch_version` | Patch part of resolved version by [Version Resolver](#version-resolver). i.e. `1` for version `6.3.1` |
388392

389393
## Developing
390394

0 commit comments

Comments
 (0)