diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 66554e9..3714249 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -59,13 +59,9 @@ jobs: shell: powershell run: | $progressPreference = 'silentlyContinue' - $packages = @( - 'https://aka.ms/vs/16/release/vc_redist.arm64.exe', - , - '${{github.workspace}}/Microsoft.UI.Xaml.2.8.arm64.appx' - ) - - Invoke-WebRequest -Uri 'https://aka.ms/Microsoft.VCLibs.arm64.14.00.Desktop.appx' -OutFile "${{github.workspace}}/Microsoft.VCLibs.arm64.14.00.Desktop.appx" -UseBasicParsing + Invoke-WebRequest -Uri 'https://aka.ms/vs/16/release/vc_redist.arm64.exe' -OutFile "${{github.workspace}}/vc_redist.arm64.exe" -UseBasicParsing + Start-Process -FilePath "${{github.workspace}}/vc_redist.arm64.exe" -ArgumentList "/install", "/quiet", "/norestart" -Wait + Add-AppxPackage Microsoft.VCLibs.arm64.14.00.Desktop.appx Add-AppxPackage Microsoft.UI.Xaml.2.8.arm64.appx Add-AppxPackage Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle