From 2416a7994531dfdf18280e7baad42a4624a79adc Mon Sep 17 00:00:00 2001 From: Jerome Thayananthajothy Date: Sat, 31 Aug 2024 00:19:17 +0100 Subject: [PATCH] Update Windows SDK version to 10.0.2004 --- .github/workflows/build-windows.yml | 23 ++++------------------- 1 file changed, 4 insertions(+), 19 deletions(-) diff --git a/.github/workflows/build-windows.yml b/.github/workflows/build-windows.yml index 77eb005..83efe2c 100644 --- a/.github/workflows/build-windows.yml +++ b/.github/workflows/build-windows.yml @@ -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