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.
- A Windows runner
Refer here to the changelog.
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
- uses: ChristopheLav/windows-sdk-install@v1
with:
version-sdk: 26100
features: 'OptionId.UWPCPP,OptionId.DesktopCPParm64'
The scripts and documentation in this project are released under the MIT License