From 43f1bff1093a6561f4967097440f0b71b2a6da08 Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 5 Jun 2022 06:23:45 +0000 Subject: [PATCH] Format & build [skip ci] --- dist/main.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/dist/main.js b/dist/main.js index 3174a1a5..236d83c2 100644 --- a/dist/main.js +++ b/dist/main.js @@ -64569,8 +64569,11 @@ async function run() { '--do-not-fork', '--disable-sandbox', githubAppArgs, - ]); - await workspace.saveWorkspaceCache(workspaceDir); + ]).finally(() => { + workspace.saveWorkspaceCache(workspaceDir).catch((error) => { + core.setFailed(` ✕ ${error.message}`); + }); + }); } catch (error) { core.setFailed(` ✕ ${error.message}`);