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 7bc3190 commit 410b152Copy full SHA for 410b152
.github/workflows/vc.yml
@@ -11,9 +11,16 @@ 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
- echo VCToolsRedistDir is set to: %VCToolsRedistDir%
16
- ) || (
+ call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x64
+
+ :: Output all environment variables for debugging
17
+ set
18
19
+ :: Check if the VCToolsRedistDir variable is set
20
+ if not defined VCToolsRedistDir (
21
echo Error: Environment variable VCToolsRedistDir is not set.
22
exit /b 1
23
+ ) else (
24
+ echo VCToolsRedistDir is set to: %VCToolsRedistDir%
25
)
26
0 commit comments