From 5e917b0a3bd88e80471f32f7895b460b0d4ae1c4 Mon Sep 17 00:00:00 2001 From: mas0061 Date: Sun, 29 Dec 2024 14:34:59 +0900 Subject: [PATCH] feat: saving cache failed message to warning --- src/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils.ts b/src/utils.ts index 0c797d4..c7e8cd7 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -232,7 +232,6 @@ export async function saveCache(standalone: boolean) { await mc.fPutObject(bucket, object, archivePath, {}); core.info("Cache saved to s3 successfully"); } catch (e) { - core.info("Save s3 cache failed: " + e.message); if (useFallback) { if (isGhes()) { core.warning("Cache fallback is not supported on Github Enterpise."); @@ -243,6 +242,7 @@ export async function saveCache(standalone: boolean) { } } else { core.debug("skipped fallback cache"); + core.warning("Save s3 cache failed: " + e.message); } } } catch (e) {