From 6a7051e708da65f7e0f78feedd71c7b785b94a3d Mon Sep 17 00:00:00 2001 From: Lessley Dennington Date: Mon, 13 Dec 2021 17:35:22 -0600 Subject: [PATCH] fixup! Adding winget workflows --- .github/workflows/release-winget.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release-winget.yml b/.github/workflows/release-winget.yml index 7d64204079eb66..c1f0c5ab282618 100644 --- a/.github/workflows/release-winget.yml +++ b/.github/workflows/release-winget.yml @@ -11,10 +11,10 @@ jobs: run: | # Get correct release asset $github = Get-Content '${{ github.event_path }}' | ConvertFrom-Json - $asset = $github.release.assets | Where-Object -Property name -match '.exe$' + $asset = $github.release.assets | Where-Object -Property name -match '64-bit.exe$' # Remove 'v' and 'vfs' from the version - $assets.tag_name -match '\d.*' + $github.release.tag_name -match '\d.*' $version = $Matches[0] -replace ".vfs","" # Download and run wingetcreate