mirror of
https://github.com/actions/setup-java.git
synced 2026-07-08 14:21:50 +00:00
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
3f3ac234a1
commit
c2ac82fe11
@ -67,6 +67,11 @@ export async function verifyPackageSignature(
|
||||
path.join(util.getTempDir(), 'verify-signature-gpg-home-')
|
||||
);
|
||||
} catch (error) {
|
||||
try {
|
||||
await io.rmRF(signaturePath);
|
||||
} catch {
|
||||
// ignore cleanup failures
|
||||
}
|
||||
throw new Error(
|
||||
`Failed to create temporary GPG home directory for signature verification: ${
|
||||
(error as Error).message
|
||||
|
||||
Loading…
Reference in New Issue
Block a user