From bfb5b25c08364bf9e06048199be52d4047e97057 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?No=C3=A9mien=20Kocher?= Date: Fri, 8 Jul 2022 23:48:34 +0200 Subject: [PATCH] Fixes wrong outdated URL --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f0c00f8..edf78e8 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.