From e82103acef14ac8c7dd76d6997a4ba7cfda1bcfc Mon Sep 17 00:00:00 2001 From: Blaine Bublitz Date: Sun, 9 Aug 2020 15:53:44 -0700 Subject: [PATCH] Export MSBUILD env variable --- src/main.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main.ts b/src/main.ts index 05035ca..a540494 100644 --- a/src/main.ts +++ b/src/main.ts @@ -100,6 +100,9 @@ async function run(): Promise { // 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)