From 772765523857f6739cf1aa1badb4d4fa77764633 Mon Sep 17 00:00:00 2001 From: Jerome Thayananthajothy Date: Sat, 31 Aug 2024 02:32:37 +0100 Subject: [PATCH] Update build process to use Windows Kit path with makeappx.exe --- .github/workflows/build-windows.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-windows.yml b/.github/workflows/build-windows.yml index 20ff875..a47d22b 100644 --- a/.github/workflows/build-windows.yml +++ b/.github/workflows/build-windows.yml @@ -23,7 +23,7 @@ jobs: - name: Find Windows Kit Path run: | - $windowsKitPath = (Get-ChildItem "C:\Program Files (x86)\Windows Kits\10\bin" -Recurse -Directory | Where-Object { $_.Name -match "x64" }).FullName + $windowsKitPath = (Get-ChildItem "C:\Program Files (x86)\Windows Kits\10\bin" -Recurse -Directory | Where-Object { Test-Path "$($_.FullName)\makeappx.exe" }).FullName echo "WINDOWS_KIT_PATH=$windowsKitPath" >> $GITHUB_ENV shell: pwsh