Skip to content

Commit f159aba

Browse files
committed
a fix?
1 parent 0c27d06 commit f159aba

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/ci.yml

+7-5
Original file line numberDiff line numberDiff line change
@@ -191,13 +191,15 @@ jobs:
191191
arch: x64
192192

193193
- name: Get tool information
194+
shell: pwsh
194195
run: |
195-
cmake --version | tee cmake_version
196-
echo "---"
197-
msbuild -version | tee msbuild_version
198-
echo "$VCToolsVersion" | tee toolset_version
196+
cmake -version | Tee-Object -FilePath "cmake_version"
197+
Write-Output "---"
198+
msbuild -version | Tee-Object -FilePath "msbuild_version"
199+
$env:VCToolsVersion | Tee-Object -FilePath "toolset_version"
199200
py -3 --version
200-
$0 --version
201+
Write-Host "PowerShell version $($PSVersionTable.PSVersion.ToString())"
202+
bash --version
201203
202204
- name: Using vcpkg with MSBuild
203205
run: |

0 commit comments

Comments
 (0)