Skip to content

Commit 8113f46

Browse files
committed
ci: "Print tool versions" fixed for MSVC
1 parent 9829f2b commit 8113f46

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

.github/workflows/ci-conan.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -182,11 +182,11 @@ jobs:
182182
shell: cmd
183183
run: |
184184
call build\generators\conanbuild.bat
185-
%CXX% 2>&1 || ver > nul
186-
cmake --version 2>&1 || ver > nul
187-
ninja --version 2>&1 || ver > nul
185+
cl 2>&1
186+
cmake --version 2>&1
187+
ninja --version 2>&1
188188
conan --version
189-
python3 --version
189+
python --version
190190
- name: Print tool versions
191191
if: matrix.toolchain.compiler.type != 'MSVC'
192192
shell: bash

.github/workflows/ci-test-package-cmake.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -180,11 +180,11 @@ jobs:
180180
shell: cmd
181181
run: |
182182
call build\${{ matrix.conan-build-folder }}\generators\conanbuild.bat
183-
%CXX% 2>&1 || ver > nul
184-
cmake --version 2>&1 || ver > nul
185-
ninja --version 2>&1 || ver > nul
183+
cl 2>&1
184+
cmake --version 2>&1
185+
ninja --version 2>&1
186186
conan --version
187-
python3 --version
187+
python --version
188188
- name: Print tool versions
189189
if: matrix.toolchain.compiler.type != 'MSVC'
190190
shell: bash

0 commit comments

Comments
 (0)