mirror of
https://github.com/actions/setup-java.git
synced 2025-04-21 10:26:46 +00:00
run clean-up tasks in serial
This commit is contained in:
parent
f6a3b974ec
commit
5f3f74c689
2 changed files with 4 additions and 2 deletions
|
@ -42,7 +42,8 @@ async function ignoreError(promise: Promise<void>) {
|
|||
}
|
||||
|
||||
export async function run() {
|
||||
await Promise.all([removePrivateKeyFromKeychain(), ignoreError(saveCache())]);
|
||||
await removePrivateKeyFromKeychain();
|
||||
await ignoreError(saveCache());
|
||||
}
|
||||
|
||||
if (require.main === module) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue