Github action to download and install a specific version of the Windows 10 SDK.
Supported versions: 17763
, 18362
, 19041
, 20348
, 22000
.
Field | Mandatory | Observation |
---|---|---|
sdk-version | YES | The 5-digit version (build) of the SDK (10.0.xxxxx.0 ) to install Examples: 17763 , 18362 , 19041 , 20348 , 22000 . Default 18362 . |
steps:
- uses: actions/checkout@v2
- uses: GuillaumeFalourd/[email protected]
steps:
- uses: actions/checkout@v2
- uses: GuillaumeFalourd/[email protected]
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