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