83
83
Write-Output "::error::Expected build tools version `"${env:TEST_BUILD_TOOLS_EXPECTED_VERSION}`", but got `"${BuildToolsVersion}`"."
84
84
$HasError = $true
85
85
} else {
86
- Write-Output "✅ Build tools version `${BuildToolsVersion}` matches expected version."
86
+ Write-Output "✅ Build tools version `" ${BuildToolsVersion}`" matches expected version."
87
87
}
88
88
89
89
# Check if the correct MSVC version is installed.
92
92
$InstallPath = (& "$VSWhere" -latest -products * -format json | ConvertFrom-Json).installationPath
93
93
$MSVCDir = Join-Path $InstallPath "VC" "Tools" "MSVC" $BuildToolsVersion
94
94
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."
96
96
} else {
97
97
Write-Output "::error::MSVC directory not found: `"${MSVCDir}`"."
98
98
$HasError = $true
@@ -189,7 +189,7 @@ jobs:
189
189
Write-Output "::error::Expected build tools version `"${env:TEST_BUILD_TOOLS_EXPECTED_VERSION}`", but got `"${BuildToolsVersion}`"."
190
190
$HasError = $true
191
191
} else {
192
- Write-Output "✅ Build tools version `${BuildToolsVersion}` matches expected version."
192
+ Write-Output "✅ Build tools version `" ${BuildToolsVersion}`" matches expected version."
193
193
}
194
194
195
195
# Check if the correct MSVC version is installed.
@@ -198,7 +198,7 @@ jobs:
198
198
$InstallPath = (& "$VSWhere" -latest -products * -format json | ConvertFrom-Json).installationPath
199
199
$MSVCDir = Join-Path $InstallPath "VC" "Tools" "MSVC" $BuildToolsVersion
200
200
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."
202
202
} else {
203
203
Write-Output "::error::MSVC directory not found: `"${MSVCDir}`"."
204
204
$HasError = $true
0 commit comments