loonghao/Setup MSVC Build Tools
Download and configure MSVC compiler and Windows SDK using msvc-kit
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| msvc-version | MSVC version to install (default: latest) | no | "" |
| sdk-version | Windows SDK version to install (default: latest) | no | "" |
| arch | Target architecture (x64, x86, arm64) | no | x64 |
| host-arch | Host architecture for cross-compilation (x64, x86, arm64) | no | "" |
| install-dir | Installation directory for MSVC tools | no | "" |
| msvc-kit-version | msvc-kit version to use (default: latest release) | no | latest |
| components | Components to install: 'all', 'msvc', or 'sdk' | no | all |
| verify-hashes | Verify downloaded file hashes (true/false) | no | true |
| export-env | Export environment variables to GITHUB_ENV (true/false) | no | true |
Outputs
| name | description |
|---|---|
| msvc-version | Installed MSVC version |
| sdk-version | Installed Windows SDK version |
| install-dir | Installation directory |
| cl-path | Path to cl.exe |
| link-path | Path to link.exe |
| rc-path | Path to rc.exe |
| include-path | INCLUDE environment variable value |
| lib-path | LIB environment variable value |