Skip to content

Commit faf0426

Browse files
authored
Fixes wrong outdated URL (softprops#242)
1 parent 50195ba commit faf0426

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ The following outputs can be accessed via `${{ steps.<step-id>.outputs }}` from
198198
| `url` | String | Github.com URL for the release |
199199
| `id` | String | Release ID |
200200
| `upload_url` | String | URL for uploading assets to the release |
201-
| `assets` | String | JSON array containing information about each uploaded asset, in the format given [here](https://docs.github.com/en/rest/reference/repos#upload-a-release-asset--code-samples) (minus the `uploader` field) |
201+
| `assets` | String | JSON array containing information about each uploaded asset, in the format given [here](https://docs.github.com/en/rest/releases/assets#get-a-release-asset) (minus the `uploader` field) |
202202

203203
As an example, you can use `${{ fromJSON(steps.<step-id>.outputs.assets)[0].browser_download_url }}` to get the download URL of the first asset.
204204

0 commit comments

Comments
 (0)