Skip to content

Commit

Permalink
chore: Update Windows SDK version to 10.0.2004
Browse files Browse the repository at this point in the history
  • Loading branch information
Thavarshan committed Aug 30, 2024
1 parent b7338f3 commit d18f03f
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/build-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,14 @@ jobs:
run: npm install

- name: Install Windows SDK
run: choco install windows-sdk-10-version-2004-all -y
shell: pwsh

- name: Verify makeappx.exe exists
run: |
if (Test-Path "C:\Program Files (x86)\Windows Kits\10\bin\x64\makeappx.exe") {
Write-Host "makeappx.exe found."
} else {
choco install windows-sdk-10-version-2004-all -y
$env:Path += ";C:\Program Files (x86)\Windows Kits\10\bin\x64"
if (-Not (Test-Path "C:\Program Files (x86)\Windows Kits\10\bin\x64\makeappx.exe")) {
Write-Host "makeappx.exe not found. Installation might have failed."
exit 1
} else {
Write-Host "makeappx.exe found."
}
shell: pwsh

Expand Down

0 comments on commit d18f03f

Please sign in to comment.