Keep old environment variable for backwards compatibility
This commit is contained in:
		
							
								
								
									
										
											BIN
										
									
								
								dist/index.js
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								dist/index.js
									
									
									
										generated
									
									
										vendored
									
									
								
							
										
											Binary file not shown.
										
									
								
							| @ -87,6 +87,7 @@ export async function getJava( | ||||
|   } | ||||
|  | ||||
|   let extendedJavaHome = 'JAVA_HOME_' + version + '_' + arch; | ||||
|   core.exportVariable(extendedJavaHome, toolPath); //TODO: remove for v2 | ||||
|   // For portability reasons environment variables should only consist of | ||||
|   // uppercase letters, digits, and the underscore. Therefore we convert | ||||
|   // the extendedJavaHome variable to upper case and replace '.' symbols and | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Arthur Baars
					Arthur Baars