mirror of
				https://github.com/actions/setup-java.git
				synced 2025-11-04 00:10:54 +00:00 
			
		
		
		
	cleanup-java
This commit is contained in:
		
					parent
					
						
							
								3bc31aaf88
							
						
					
				
			
			
				commit
				
					
						5421cd2422
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -11,7 +11,7 @@ async function removePrivateKeyFromKeychain() {
 | 
				
			||||||
      const keyFingerprint = core.getState(constants.STATE_GPG_PRIVATE_KEY_FINGERPRINT);
 | 
					      const keyFingerprint = core.getState(constants.STATE_GPG_PRIVATE_KEY_FINGERPRINT);
 | 
				
			||||||
      await gpg.deleteKey(keyFingerprint);
 | 
					      await gpg.deleteKey(keyFingerprint);
 | 
				
			||||||
    } catch (error) {
 | 
					    } catch (error) {
 | 
				
			||||||
      core.setFailed('Failed to remove private key');
 | 
					      core.setFailed(`Failed to remove private key due to: ${error.message}`);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue