We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 582048e commit 7bc3190Copy full SHA for 7bc3190
.github/workflows/vc.yml
@@ -11,12 +11,9 @@ jobs:
11
- name: Check if VCToolsRedistDir exists
12
shell: cmd
13
run: |
14
- call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x64
15
-
16
- :: Check if the VCToolsRedistDir variable is set
17
- if not defined VCToolsRedistDir (
+ call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x64 && (
+ echo VCToolsRedistDir is set to: %VCToolsRedistDir%
+ ) || (
18
echo Error: Environment variable VCToolsRedistDir is not set.
19
exit /b 1
20
- ) else (
21
- echo VCToolsRedistDir is set to: %VCToolsRedistDir%
22
)
0 commit comments