Github action to download and install a specific version of the Windows 10 SDK.
Supported versions: 16299
, 17763
, 18362
, 19041
, 20348
, 22000
, 22621
, 26100
(bug opened).
Field | Mandatory | Observation |
---|---|---|
sdk-version | YES | The 5-digit version (build) of the SDK (10.0.xxxxx.0 ) to install Examples: 16299 , 17763 , 18362 , 19041 , 20348 , 22000 , 22621 , 26100 (Default is 18362 ). |
Obs: Want to add another sdk-version? Contribute here!
steps:
- uses: actions/checkout@v4
- uses: GuillaumeFalourd/setup-windows10-sdk-action@v2
steps:
- uses: actions/checkout@v4
- uses: GuillaumeFalourd/setup-windows10-sdk-action@v2
with:
sdk-version: 20348
You would then need to use CMake
command to use the specific SDK on your workflow.
- name: Build new SDK
shell: bash
run: |
cmake -DCMAKE_SYSTEM_VERSION=10.0.20348.0
cmake --build .
Here are some references for CMake:
- Ritchard Murillo PowerShell Windows SDK install script.
- fbactions unpublished action (discovered trying to help with this stackoverflow question) that wasn't available on the Github Marketplace.
This repository uses the Apache License 2.0
Would like to contribute to the repository? Here are the guidelines 🚀
(Made with contributors-img)