Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/egor-tensin/vs-shell
GitHub action to set up the Visual Studio shell environment
https://github.com/egor-tensin/vs-shell
action github-actions visual-studio
Last synced: 12 days ago
JSON representation
GitHub action to set up the Visual Studio shell environment
- Host: GitHub
- URL: https://github.com/egor-tensin/vs-shell
- Owner: egor-tensin
- License: mit
- Created: 2020-11-13T08:08:38.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2023-03-13T12:48:34.000Z (over 1 year ago)
- Last Synced: 2024-10-15T19:33:34.819Z (27 days ago)
- Topics: action, github-actions, visual-studio
- Language: C++
- Homepage:
- Size: 22.5 KB
- Stars: 47
- Watchers: 6
- Forks: 11
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
Visual Studio shell
===================[![Test](https://github.com/egor-tensin/vs-shell/actions/workflows/test.yml/badge.svg)](https://github.com/egor-tensin/vs-shell/actions/workflows/test.yml)
This GitHub action sets up a Visual Studio shell in your workflow run.
This is similar to running one of the vcvars*.bat scripts or launching one of
the "Command Tools for VS" Start Menu shortcuts, but it's also shell-agnostic.Use it in your workflow like this:
- name: Set up Visual Studio shell
uses: egor-tensin/vs-shell@v2
with:
arch: x64* `x64` is the default value for the `arch` parameter and can be omitted.
Use `x86` (or `Win32`) if you want to build 32-bit binaries.API
---| Input | Value | Default | Description
| ----- | ----- | ------- | -----------
| arch | x64 | ✓ | Build 64-bit executables.
| | x86 | | Build 32-bit executables.
| | Win32 | | Build 32-bit executables.The action passes the environment variables set by one of the vcvars*.bat
scripts to the calling job.License
-------Distributed under the MIT License.
See [LICENSE.txt] for details.[LICENSE.txt]: LICENSE.txt