Skip to content

Commit e49eb84

Browse files
committed
fix(CI): Install latest WinGet from GitHuB
1 parent 46dbe73 commit e49eb84

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -43,19 +43,13 @@ jobs:
4343
# so we delete everything that could mess up our builds
4444
run: rmdir /S /Q C:\Strawberry
4545

46-
- name: Install Winget Dependencies (ARM64)
46+
- name: Install Winget (ARM64)
4747
if: contains(matrix.arch, 'arm64')
4848
run: |
49-
Invoke-WebRequest -Uri https://github.com/microsoft/microsoft-ui-xaml/releases/download/v2.8.6/Microsoft.UI.Xaml.2.8.arm64.appx -OutFile $env:TEMP\Microsoft.UI.Xaml.2.8.arm64.appx
50-
Add-AppxPackage $env:TEMP\Microsoft.UI.Xaml.2.8.arm64.appx
51-
Add-AppxPackage 'https://aka.ms/Microsoft.VCLibs.arm64.14.00.Desktop.appx'
49+
Invoke-WebRequest -Uri https://github.com/microsoft/winget-cli/releases/download/v1.10.390/Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle -OutFile $env:TEMP\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle
50+
Add-AppxPackage $env:TEMP\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle
5251
shell: pwsh
5352

54-
- name: Install Winget
55-
if: contains(matrix.arch, 'arm64')
56-
run: Add-AppPackage https://aka.ms/GetWinGet
57-
shell: pwsh
58-
5953
- name: Install Ninja
6054
run: winget install --accept-source-agreements --accept-package-agreements Ninja-build.Ninja
6155

0 commit comments

Comments
 (0)