mirror of
				https://github.com/actions/setup-java.git
				synced 2025-11-04 00:44:20 +00:00 
			
		
		
		
	fixed configAuthentication invokation
This commit is contained in:
		
							parent
							
								
									01f7e3b3fd
								
							
						
					
					
						commit
						e09c5c7b0c
					
				
							
								
								
									
										
											BIN
										
									
								
								dist/index.js
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								dist/index.js
									
									
									
										generated
									
									
										vendored
									
									
								
							
										
											Binary file not shown.
										
									
								
							@ -26,17 +26,17 @@ async function run() {
 | 
			
		||||
      core.getInput('server-username', {required: false}) || undefined;
 | 
			
		||||
    const password =
 | 
			
		||||
      core.getInput('server-password', {required: false}) || undefined;
 | 
			
		||||
    const gpgPassphrase =
 | 
			
		||||
      core.getInput('gpg-passphrase', {required: false}) || undefined;
 | 
			
		||||
    const gpgPrivateKey =
 | 
			
		||||
      core.getInput('gpg-private-key', {required: false}) || undefined;
 | 
			
		||||
    const gpgPassphrase =
 | 
			
		||||
      core.getInput('gpg-passphrase', {required: false}) || undefined;
 | 
			
		||||
 | 
			
		||||
    await auth.configAuthentication(
 | 
			
		||||
      id,
 | 
			
		||||
      username,
 | 
			
		||||
      password,
 | 
			
		||||
      gpgPassphrase,
 | 
			
		||||
      gpgPrivateKey
 | 
			
		||||
      gpgPrivateKey,
 | 
			
		||||
      gpgPassphrase
 | 
			
		||||
    );
 | 
			
		||||
  } catch (error) {
 | 
			
		||||
    core.setFailed(error.message);
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user