Skip to content

Wxz234/setup-windows10-sdk-action

 
 

Repository files navigation

Setup Windows 10 SDK Action

.github/workflows/default-sdk-version-workflow.yml

.github/workflows/specific-sdk-version-workflow.yml

Security Pipeline

title

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

Supported versions: 16299, 17763, 18362, 19041, 20348, 22000, 22621.

How to use this action?

Public workflows that 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 (Default is 18362).

Obs: Want to add another sdk-version? Contribute here!

Example

Default SDK version (18362)

steps:
- uses: actions/checkout@v3
- uses: GuillaumeFalourd/[email protected]

Specific SDK version (20348)

steps:
- uses: actions/checkout@v3
- 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:

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)

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 67.7%
  • CMake 32.3%