{"id":18385373,"url":"https://github.com/themrmilchmann/setup-msvc-dev","last_synced_at":"2025-10-04T09:18:10.444Z","repository":{"id":36987438,"uuid":"421435832","full_name":"TheMrMilchmann/setup-msvc-dev","owner":"TheMrMilchmann","description":"Github Action to set up a Developer Command Prompt for Microsoft Visual C++","archived":false,"fork":false,"pushed_at":"2024-11-03T10:02:44.000Z","size":211940,"stargazers_count":13,"open_issues_count":1,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-11-04T14:45:24.334Z","etag":null,"topics":["github-actions","msvc","vcvarsall","visual-cpp","windows"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TheMrMilchmann.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-10-26T13:27:16.000Z","updated_at":"2024-11-03T10:02:46.000Z","dependencies_parsed_at":"2023-02-19T05:31:36.229Z","dependency_job_id":"798a5d97-d8e6-4dcc-ac58-94c5c7cb2f5d","html_url":"https://github.com/TheMrMilchmann/setup-msvc-dev","commit_stats":{"total_commits":329,"total_committers":3,"mean_commits":"109.66666666666667","dds":"0.32522796352583583","last_synced_commit":"377605ed060dfa5b3b6f5eb4a4f57dde42ba9445"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheMrMilchmann%2Fsetup-msvc-dev","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheMrMilchmann%2Fsetup-msvc-dev/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheMrMilchmann%2Fsetup-msvc-dev/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheMrMilchmann%2Fsetup-msvc-dev/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TheMrMilchmann","download_url":"https://codeload.github.com/TheMrMilchmann/setup-msvc-dev/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223266801,"owners_count":17116519,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["github-actions","msvc","vcvarsall","visual-cpp","windows"],"created_at":"2024-11-06T01:17:25.874Z","updated_at":"2025-10-04T09:18:10.419Z","avatar_url":"https://github.com/TheMrMilchmann.png","language":"TypeScript","readme":"# setup-msvc-dev\n\n[![License](https://img.shields.io/badge/license-MIT-green.svg?style=for-the-badge\u0026label=License)](https://github.com/TheMrMilchmann/setup-msvc-dev/blob/master/LICENSE)\n\nA [GitHub Action](https://github.com/features/actions) to set up a Developer\nCommand Prompt for Microsoft Visual C++.\n\nThis project was forked from https://github.com/ilammy/msvc-dev-cmd to support\nadditional use-cases and to experiment further with GitHub Actions.\n\n## Usage\n\n### Basic Usage\n\n```yaml\nsteps:\n  - uses: TheMrMilchmann/setup-msvc-dev@v4\n    with:\n      arch: x64\n```\n\n### Inputs\n\n- `arch` – target architecture (required if at least one is set: `sdk`,\n           `toolselt`, `uwp`, `spectre`)\n  - native compilation:\n    - `x64`\n    - `x86`\n  - cross-compilation: `x86_amd64`, `x86_arm`, `x86_arm64`, `amd64_x86`,\n    `amd64_arm`, `amd64_arm64`\n  - Check [the Microsoft documentation](https://docs.microsoft.com/en-us/cpp/build/building-on-the-command-line)\n    for all possible options\n- `vs-path` – the path to the Visual Studio installation\n  - do not specify to use the latest installation\n- `sdk` – Windows SDK to use\n  - do not specify to use the default SDK\n  - or specify full Windows 10 SDK number (e.g. `10.0.10240.0`)\n  - or write `8.1` to use Windows 8.1 SDK\n- `toolset` – select a VC++ compiler toolset\n  - do not specify to use the default toolset\n  - `14.0` for VC++ 2015 Compiler Toolset\n  - `14.XX` for the latest 14.XX toolset installed (e.g. `14.11`)\n  - `14.XX.YYYY` for a specific full version number (e.g. `14.11.25503`)\n- `uwp` – set to `true` to build for Universal Windows Platform (i.e., for Windows Store)\n- `spectre` – set to `true` to use Visual Studio libraries with spectre mitigations\n- `export-path-to-vcvarsall` – the environment variable to store the path to\n                               vcvarsall.bat in\n- `export-path-to-vs` – the environment variable to store the path to the Visual \n                        Studio installation in\n\n\n### Versioning\n\nThis action is strictly following [SemVer 2.0.0](https://semver.org/spec/v2.0.0.html).\nThus, it is recommended to pin the action against specific MAJOR version. This\ncan be achieved by using the `v${MAJOR}` branch.\n\nTo get an overview about the action's versions, see the [changelog](docs/changelog/README.md).\n\n\n## License\n\n```\nCopyright (c) 2019 ilammy\nCopyright (c) 2021-2024 Leon Linhart\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthemrmilchmann%2Fsetup-msvc-dev","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthemrmilchmann%2Fsetup-msvc-dev","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthemrmilchmann%2Fsetup-msvc-dev/lists"}