From d351e68b9a4b6db03abdc0cf151aa1aa1131b4c0 Mon Sep 17 00:00:00 2001 From: Shubham Tiwari <64764738+tiwarishub@users.noreply.github.com> Date: Thu, 30 Jun 2022 06:36:53 +0000 Subject: [PATCH] review comment --- src/save.ts | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/save.ts b/src/save.ts index 821a18d..a0a21bf 100644 --- a/src/save.ts +++ b/src/save.ts @@ -47,11 +47,10 @@ async function run(): Promise { const cacheId = await cache.saveCache(cachePaths, primaryKey, { uploadChunkSize: utils.getInputAsInt(Inputs.UploadChunkSize) }); - if (cacheId == -1) { - return; - } - core.info(`Cache saved with key: ${primaryKey}`); + if (cacheId != -1) { + core.info(`Cache saved with key: ${primaryKey}`); + } } catch (error: unknown) { utils.logWarning((error as Error).message); }