Skip to content

Commit

Permalink
tag_name output in README
Browse files Browse the repository at this point in the history
  • Loading branch information
bruceadams committed Aug 15, 2020
1 parent c09abd9 commit 3ad3fc3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@ This Action requires that the environment variable `GITHUB_TOKEN` be set correct
For more information on these outputs, see the [API Documentation](https://developer.github.com/v3/repos/releases/#response-4) for an example of what these outputs look like

- `id`: The release ID
- `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`
- `html_url`: The URL users can navigate to in order to view the release. For example `https://github.com/octocat/Hello-World/releases/v1.0.0`
- `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`](https://www.github.com/actions/upload-release-asset) GitHub Action
- `tag_name`: The git tag associated with the release. For example: `v1.1.0`

### Example workflow

Expand Down
1 change: 1 addition & 0 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -24848,6 +24848,7 @@ async function run() {
core.setOutput("id", releaseId.toString());
core.setOutput("html_url", htmlUrl);
core.setOutput("upload_url", uploadUrl);
core.setOutput("tag_name", tag);
} catch (error) {
console.log(error);
core.setFailed(error.message);
Expand Down

0 comments on commit 3ad3fc3

Please sign in to comment.