CH
ChristopheLav/windows-sdk-install
A Github Action that install locally the Windows SDK if needed
Windows SDK Install action
This action allows to locally install the Windows SDK if needed.
This action is based on a script available in the Windows Community Toolkit here.
Requirements
- A Windows runner
What's new
Refer here to the changelog.
Inputs
| Input | Required | Example | Default Value | Description |
|---|---|---|---|---|
version-sdk |
Yes | 22621 | Version of the Windows SDK to install | |
features |
Yes | 'OptionId.UWPCPP,OptionId.DesktopCPParm64' | Features of the Windows SDK to install (corresponding of the WinSDKSetup.exe /features switch) separated by a comma |
The available features of the Windows 10/11 SDK are:
- OptionId.WindowsPerformanceToolkit
- OptionId.WindowsDesktopDebuggers
- OptionId.AvrfExternal
- OptionId.NetFxSoftwareDevelopmentKit
- OptionId.WindowsSoftwareLogoToolkit
- OptionId.IpOverUsb
- OptionId.MSIInstallTools
- OptionId.SigningTools
- OptionId.UWPManaged
- OptionId.UWPCPP
- OptionId.UWPLocalized
- OptionId.DesktopCPPx86
- OptionId.DesktopCPPx64
- OptionId.DesktopCPParm (no more exists in SDK 26100 and beyound)
- OptionId.DesktopCPParm64
Usage
- uses: ChristopheLav/windows-sdk-install@v1
with:
version-sdk: 26100
features: 'OptionId.UWPCPP,OptionId.DesktopCPParm64'License
The scripts and documentation in this project are released under the MIT License
On this page
Languages
PowerShell100.0%
Contributors
MIT License
Created March 4, 2023
Updated January 9, 2026