We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3f58544 commit eba5beaCopy full SHA for eba5bea
.pipelines/winui3-ci.yml
@@ -32,6 +32,16 @@ steps:
32
script: |
33
choco install windows-sdk-10-version-1809-all
34
35
+ $winget = (Get-Command winget -ErrorAction SilentlyContinue)
36
+ if (-not $winget) {
37
+ Write-Host 'winget not found. Installing App Installer (DesktopAppInstaller) silently...'
38
+
39
+ Invoke-WebRequest -Uri "https://aka.ms/getwinget" -OutFile "$env:Temp\AppInstaller.msixbundle"
40
+ Add-AppxPackage -Path "$env:Temp\AppInstaller.msixbundle"
41
+ }
42
43
+ winget install --id Microsoft.WindowsSDK.10.0.22000 -e --silent --accept-package-agreements --accept-source-agreements
44
45
- task: UseDotNet@2
46
displayName: 'Use .NET Core sdk 8.x'
47
inputs:
0 commit comments