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
This commit is contained in:
Noisyfox 2024-09-11 22:24:47 +08:00 committed by GitHub
parent a453d153ea
commit 5c3e094450
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -159,6 +159,9 @@ jobs:
- name: Build slicer Win - name: Build slicer Win
if: inputs.os == 'windows-latest' if: inputs.os == 'windows-latest'
working-directory: ${{ github.workspace }} working-directory: ${{ github.workspace }}
env:
WindowsSdkDir: 'C:\Program Files (x86)\Windows Kits\10\'
WindowsSDKVersion: '10.0.22000.0\'
run: .\build_release_vs2022.bat slicer run: .\build_release_vs2022.bat slicer
- name: Create installer Win - name: Create installer Win