Skip to content

Commit 6f2e3b1

Browse files
authored
Updated path to VC++ compiler
1 parent 8dcd50c commit 6f2e3b1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/hello-world-2.8.1.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,8 +141,8 @@ jobs:
141141
env:
142142
VCVARS_ARGS: ${{ matrix.vcvars-args }}
143143
run: |
144-
call "C:\Program Files (x86)\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall" %VCVARS_ARGS%
145-
cl /c /DBUILD_NUMBER=${{ env.BUILD_NUMBER }} test.cpp
144+
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall" %VCVARS_ARGS%
145+
cl /sttd:c++17 /c /DBUILD_NUMBER=${{ env.BUILD_NUMBER }} test.cpp
146146
link /OUT:cpp.exe /SUBSYSTEM:CONSOLE test.obj
147147
148148
- name: test cpp

0 commit comments

Comments
 (0)