mirror of
				https://github.com/actions/setup-java.git
				synced 2025-10-30 22:10:54 +00:00 
			
		
		
		
	change error to the warning
This commit is contained in:
		
					parent
					
						
							
								0b802aad9c
							
						
					
				
			
			
				commit
				
					
						af683f3474
					
				
			
		
					 2 changed files with 6 additions and 2 deletions
				
			
		
							
								
								
									
										3
									
								
								dist/setup/index.js
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								dist/setup/index.js
									
										
									
									
										vendored
									
									
								
							|  | @ -13890,7 +13890,8 @@ class MicrosoftDistributions extends base_installer_1.JavaBase { | |||
|                 throw new Error('Early access versions are not supported'); | ||||
|             } | ||||
|             if (this.packageType !== 'jdk') { | ||||
|                 throw new Error(`${this.packageType} versions are not supported`); | ||||
|                 this.packageType = 'jdk'; | ||||
|                 core.warning('Microsoft Build of OpenJDK always uses the `jdk` package type.  Remove the `java-package` argument when calling the action to silence this warning.'); | ||||
|             } | ||||
|             const availableVersionsRaw = yield this.getAvailableVersions(); | ||||
|             const opts = this.getPlatformOption(); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue