8383 Write-Output "::error::Expected build tools version `"${env:TEST_BUILD_TOOLS_EXPECTED_VERSION}`", but got `"${BuildToolsVersion}`"."
8484 $HasError = $true
8585 } else {
86- Write-Output "✅ Build tools version `${BuildToolsVersion}` matches expected version."
86+ Write-Output "✅ Build tools version `" ${BuildToolsVersion}`" matches expected version."
8787 }
8888
8989 # Check if the correct MSVC version is installed.
9292 $InstallPath = (& "$VSWhere" -latest -products * -format json | ConvertFrom-Json).installationPath
9393 $MSVCDir = Join-Path $InstallPath "VC" "Tools" "MSVC" $BuildToolsVersion
9494 if (Test-Path -Path $MSVCDir) {
95- Write-Output "✅ MSVC version `${env:TEST_MSVC_VERSION}`" is installed."
95+ Write-Output "✅ MSVC version `" ${env:TEST_MSVC_VERSION}`" is installed."
9696 } else {
9797 Write-Output "::error::MSVC directory not found: `"${MSVCDir}`"."
9898 $HasError = $true
@@ -189,7 +189,7 @@ jobs:
189189 Write-Output "::error::Expected build tools version `"${env:TEST_BUILD_TOOLS_EXPECTED_VERSION}`", but got `"${BuildToolsVersion}`"."
190190 $HasError = $true
191191 } else {
192- Write-Output "✅ Build tools version `${BuildToolsVersion}` matches expected version."
192+ Write-Output "✅ Build tools version `" ${BuildToolsVersion}`" matches expected version."
193193 }
194194
195195 # Check if the correct MSVC version is installed.
@@ -198,7 +198,7 @@ jobs:
198198 $InstallPath = (& "$VSWhere" -latest -products * -format json | ConvertFrom-Json).installationPath
199199 $MSVCDir = Join-Path $InstallPath "VC" "Tools" "MSVC" $BuildToolsVersion
200200 if (Test-Path -Path $MSVCDir) {
201- Write-Output "✅ MSVC version `${env:TEST_MSVC_VERSION}`" is installed."
201+ Write-Output "✅ MSVC version `" ${env:TEST_MSVC_VERSION}`" is installed."
202202 } else {
203203 Write-Output "::error::MSVC directory not found: `"${MSVCDir}`"."
204204 $HasError = $true
0 commit comments