setup-windows10-sdk-action

Github action to download and install a specific version of the Windows 10 SDK 📦

APACHE-2.0 License

Stars
26
Committers
7

Setup Windows 10 SDK Action

(26100 returns an error)

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).

How to use this action?

Action input

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!

Example

Default SDK version (18362)

steps:
- uses: actions/checkout@v4
- uses: GuillaumeFalourd/setup-windows10-sdk-action@v2

Specific SDK version (20348)

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:

Credits

Licensed

This repository uses the Apache License 2.0

Contribution

Would like to contribute to the repository? Here are the guidelines

(Made with contributors-img)