From 3b7ffef471b81d006cb7e7d2376f964fdd1a5672 Mon Sep 17 00:00:00 2001 From: Alejandro Alvarez Date: Wed, 28 Aug 2024 07:57:13 +0200 Subject: [PATCH] Fix browser_download_url Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 17e6e91..8f8900f 100644 --- a/README.md +++ b/README.md @@ -213,7 +213,7 @@ The following outputs can be accessed via `${{ steps..outputs }}` from | `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/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. +As an example, you can use `${{ fromJSON(steps..outputs.assets)[0].upload_url }}` to get the download URL of the first asset. #### environment variables