From 5c3e094450fb4fe3ca6520493f1338c721a6e7c5 Mon Sep 17 00:00:00 2001 From: Noisyfox Date: Wed, 11 Sep 2024 22:24:47 +0800 Subject: [PATCH] Fix issue that github action windows build could not find win10sdk (#6726) * Fix issue that github action windows build could not find win10sdk (SoftFever/OrcaSlicer#6724) * Another attempt to fix the build issue * This should work now --- .github/workflows/build_orca.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/build_orca.yml b/.github/workflows/build_orca.yml index c44b4b010b..ae855633d7 100644 --- a/.github/workflows/build_orca.yml +++ b/.github/workflows/build_orca.yml @@ -159,6 +159,9 @@ jobs: - name: Build slicer Win if: inputs.os == 'windows-latest' working-directory: ${{ github.workspace }} + env: + WindowsSdkDir: 'C:\Program Files (x86)\Windows Kits\10\' + WindowsSDKVersion: '10.0.22000.0\' run: .\build_release_vs2022.bat slicer - name: Create installer Win