From 104ac50a9548322c95bfb350ed02f98a08b9085e Mon Sep 17 00:00:00 2001 From: Clint Rutkas Date: Mon, 2 May 2022 10:50:35 -0700 Subject: [PATCH] Update package-submissions.yml --- .github/workflows/package-submissions.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/package-submissions.yml b/.github/workflows/package-submissions.yml index 23f7ab4265..c98e54ea36 100644 --- a/.github/workflows/package-submissions.yml +++ b/.github/workflows/package-submissions.yml @@ -21,7 +21,7 @@ jobs: $github = Invoke-RestMethod -uri "https://api.github.com/repos/Microsoft/PowerToys/releases" $targetRelease = $github | Where-Object -Property name -match 'Release'| Select -First 1 - $installerUrl = $targetRelease | Select -ExpandProperty assets -First 1 | Where-Object -Property name -match 'PowerToysSetup' | Select browser_download_url + $installerUrl = $targetRelease | Select -ExpandProperty assets -First 1 | Where-Object -Property name -match 'PowerToysSetup' | Select -ExpandProperty browser_download_url $ver = $targetRelease.tag_name.Trim("v") # getting latest wingetcreate file