Skip to content

Commit

Permalink
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 d18f03f commit 2416a79
Showing 1 changed file with 4 additions and 19 deletions.
23 changes: 4 additions & 19 deletions .github/workflows/build-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,28 +18,13 @@ jobs:
with:
node-version: '20'

- name: Setup Windows SDK
uses: GuillaumeFalourd/setup-windows10-sdk-action@v2

- name: Install dependencies
run: npm install

- name: Install Windows SDK
run: |
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

- name: Add SDK to PATH
run: |
$env:Path += ";C:\Program Files (x86)\Windows Kits\10\bin\x64"
Write-Host "SDK path added to environment."
shell: pwsh

- name: Build Electron app
- name: Build app
run: npm run make
continue-on-error: false

Expand Down

0 comments on commit 2416a79

Please sign in to comment.