File tree 1 file changed +12
-0
lines changed
1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change 36
36
dotnet-version : 8.0.x
37
37
cache : true
38
38
cache-dependency-path : ' **/packages.lock.json'
39
+ - name : Install Windows App SDK Runtime
40
+ shell : pwsh
41
+ run : |
42
+ $ErrorActionPreference = "Stop"
43
+
44
+ $filename = ".\WindowsAppRuntimeInstall-x64.exe"
45
+ $url = "https://download.microsoft.com/download/7a3a6a44-b07e-4ca5-8b63-2de185769dbc/WindowsAppRuntimeInstall-x64.exe" # 1.6.5 (1.6.250205002)
46
+ & curl.exe --progress-bar --show-error --fail --location --output $filename $url
47
+ if ($LASTEXITCODE -ne 0) { throw "Failed to download Windows App SDK" }
48
+
49
+ $process = Start-Process -FilePath $filename -ArgumentList "--quiet --force" -NoNewWindow -Wait -PassThru
50
+ if ($process.ExitCode -ne 0) { throw "Failed to install Windows App SDK: exit code is $($process.ExitCode)" }
39
51
- name : dotnet restore
40
52
run : dotnet restore --locked-mode
41
53
- name : dotnet test
You can’t perform that action at this time.
0 commit comments