You've already forked setup-msbuild
							
							
				mirror of
				https://github.com/microsoft/setup-msbuild.git
				synced 2025-10-31 07:06:26 +07:00 
			
		
		
		
	Export MSBUILD env variable
This commit is contained in:
		| @ -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) | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Blaine Bublitz
					Blaine Bublitz