blob: 4350f260514863401e28b14fe26046f9ff684bde (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
Visual Studio shell
===================
![Test](https://github.com/egor-tensin/vs-shell/workflows/Test/badge.svg)
This is a GitHub action that 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@v1
with:
arch: x64
`x64` is the default value for the `arch` parameter and can be omitted.
Use `x86` if you want to build 32-bit binaries.
API
---
| Input | Value | Default | Description
| ----- | ----- | ------- | -----------
| arch | x64 | Yes | Build 64-bit executables.
| | x86 | No | 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
|