mirror of
https://github.com/microsoft/setup-msbuild.git
synced 2024-11-10 05:51:07 +07:00
commit
9fe8dba406
@ -14,8 +14,8 @@ You may have a situation where your Actions runner has multiple versions of Visu
|
||||
```yml
|
||||
- name: Add msbuild to PATH
|
||||
uses: microsoft/setup-msbuild@v1.0.1
|
||||
with:
|
||||
vs-version: '[16.4,16.5)'
|
||||
with:
|
||||
vs-version: '[16.4,16.5)'
|
||||
```
|
||||
|
||||
The syntax is the same used for Visual Studio extensions, where square brackets like "[" mean inclusive, and parenthesis like "(" mean exclusive. A comma is always required, but eliding the minimum version looks for all older versions and eliding the maximum version looks for all newer versions. See the [vswhere wiki](https://github.com/microsoft/vswhere/wiki) for more details.
|
||||
@ -26,8 +26,8 @@ This makes use of the vswhere tool which is a tool delivered by Microsoft to hel
|
||||
```yml
|
||||
- name: Add msbuild to PATH
|
||||
uses: microsoft/setup-msbuild@v1.0.1
|
||||
with:
|
||||
vswhere-path: 'C:\path\to\your\tools\'
|
||||
with:
|
||||
vswhere-path: 'C:\path\to\your\tools\'
|
||||
```
|
||||
|
||||
## Notes on arguments
|
||||
|
Loading…
Reference in New Issue
Block a user