Export MSBUILD env variable

This commit is contained in:
Blaine Bublitz 2020-08-09 15:53:44 -07:00 committed by GitHub
parent 45346b5e09
commit e82103acef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -100,6 +100,9 @@ async function run(): Promise<void> {
// set the outputs for the action to the folder path of msbuild
core.setOutput('msbuildPath', toolFolderPath)
// also set MSBUILD environment variable in case a tool needs that variable
core.exportVariable('MSBUILD', toolFolderPath);
// add tool path to PATH
core.addPath(toolFolderPath)