From c1d226baa6a7fda34635964ed7e952e9206a66d6 Mon Sep 17 00:00:00 2001 From: Marcus Lau Date: Mon, 28 Feb 2022 15:52:16 +1100 Subject: [PATCH] UPDATE cache restore Fails the caches when there is random failure like a connection timeout --- src/restore.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/restore.ts b/src/restore.ts index d411459..8aff935 100644 --- a/src/restore.ts +++ b/src/restore.ts @@ -65,6 +65,7 @@ async function run(): Promise { } } catch (error) { core.setFailed(error.message); + utils.setCacheHitOutput(false); } }