From faf0426de3ddf774c3296ad1fc810d297480243a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?No=C3=A9mien=20Kocher?= Date: Sun, 10 Jul 2022 06:32:03 +0200 Subject: [PATCH] Fixes wrong outdated URL (#242) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f0c00f8ca..edf78e8ea 100644 --- a/README.md +++ b/README.md @@ -198,7 +198,7 @@ The following outputs can be accessed via `${{ steps..outputs }}` from | `url` | String | Github.com URL for the release | | `id` | String | Release ID | | `upload_url` | String | URL for uploading assets to the release | -| `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) | +| `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) | As an example, you can use `${{ fromJSON(steps..outputs.assets)[0].browser_download_url }}` to get the download URL of the first asset.