mirror of
				https://github.com/actions/setup-java.git
				synced 2025-10-31 22:40:54 +00:00 
			
		
		
		
	move required parameters to auth module
username and password are required from within the auth module now. Update the tests to ensure this is the case.
This commit is contained in:
		
					parent
					
						
							
								56b5af70cf
							
						
					
				
			
			
				commit
				
					
						56eacf97f5
					
				
			
		
					 3 changed files with 59 additions and 25 deletions
				
			
		|  | @ -18,9 +18,7 @@ async function run() { | |||
|     const username = core.getInput('username', {required: false}); | ||||
|     const password = core.getInput('password', {required: false}); | ||||
| 
 | ||||
|     if (username && password) { | ||||
|       await auth.configAuthentication(username, password); | ||||
|     } | ||||
|     await auth.configAuthentication(username, password); | ||||
| 
 | ||||
|     const matchersPath = path.join(__dirname, '..', '.github'); | ||||
|     console.log(`##[add-matcher]${path.join(matchersPath, 'java.json')}`); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue