mirror of
				https://github.com/actions/setup-java.git
				synced 2025-11-04 00:44:20 +00:00 
			
		
		
		
	forgot to build and lint
This commit is contained in:
		
							parent
							
								
									6e0fcb38f5
								
							
						
					
					
						commit
						ebb46eab94
					
				
							
								
								
									
										
											BIN
										
									
								
								dist/index.js
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								dist/index.js
									
									
									
										generated
									
									
										vendored
									
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										10
									
								
								src/auth.ts
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								src/auth.ts
									
									
									
									
									
								
							@ -124,8 +124,12 @@ async function remove(path: string) {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
async function importGPG(gpgPrivateKey: string) {
 | 
					async function importGPG(gpgPrivateKey: string) {
 | 
				
			||||||
  await write(TEMP_DIR, PRIVATE_KEY_FILE, gpgPrivateKey);
 | 
					  await write(TEMP_DIR, PRIVATE_KEY_FILE, gpgPrivateKey);
 | 
				
			||||||
  await exec.exec('gpg', ['--homedir', GPG_HOME_DIR, '--import', '--batch', PRIVATE_KEY_FILE], {
 | 
					  await exec.exec(
 | 
				
			||||||
    cwd: TEMP_DIR
 | 
					    'gpg',
 | 
				
			||||||
  });
 | 
					    ['--homedir', GPG_HOME_DIR, '--import', '--batch', PRIVATE_KEY_FILE],
 | 
				
			||||||
 | 
					    {
 | 
				
			||||||
 | 
					      cwd: TEMP_DIR
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					  );
 | 
				
			||||||
  await remove(path.join(TEMP_DIR, PRIVATE_KEY_FILE));
 | 
					  await remove(path.join(TEMP_DIR, PRIVATE_KEY_FILE));
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user