Update src/main.ts

Co-authored-by: Heath Stewart <heaths@outlook.com>
This commit is contained in:
Tim Heuer 2021-11-01 18:58:32 -07:00 committed by GitHub
parent 613696a2a0
commit 84e0d709b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -72,7 +72,7 @@ async function run(): Promise<void> {
core.debug(`Found installation path: ${installationPath}`) core.debug(`Found installation path: ${installationPath}`)
// x64 only exists in one possible location, so no fallback probing // x64 only exists in one possible location, so no fallback probing
if(MSBUILD_ARCH === "x64") { if (MSBUILD_ARCH === "x64") {
let toolPath = path.join( let toolPath = path.join(
installationPath, installationPath,
'MSBuild\\Current\\Bin\\amd64\\MSBuild.exe' 'MSBuild\\Current\\Bin\\amd64\\MSBuild.exe'