From 65a31a6cfe343d426529f5c3ea3cdb7d567ba9a4 Mon Sep 17 00:00:00 2001 From: rak Date: Tue, 18 Mar 2025 22:54:28 +0100 Subject: [PATCH] Fix cache-hit state boolean cast --- dist/cleanup/index.js | 2 +- dist/setup/index.js | 2 +- src/cache.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dist/cleanup/index.js b/dist/cleanup/index.js index 324e9d26..6dddd36e 100644 --- a/dist/cleanup/index.js +++ b/dist/cleanup/index.js @@ -96672,7 +96672,7 @@ function save(id) { } else if (cacheHit) { // no change in target directories - core.info(`Cache hit occurred on the primary key ${primaryKey}, not saving cache.`); + core.info(`${cacheHitString}: Cache hit occurred on the primary key ${primaryKey}, not saving cache.`); return; } try { diff --git a/dist/setup/index.js b/dist/setup/index.js index 87da0287..27487b05 100644 --- a/dist/setup/index.js +++ b/dist/setup/index.js @@ -131921,7 +131921,7 @@ function save(id) { } else if (cacheHit) { // no change in target directories - core.info(`Cache hit occurred on the primary key ${primaryKey}, not saving cache.`); + core.info(`${cacheHitString}: Cache hit occurred on the primary key ${primaryKey}, not saving cache.`); return; } try { diff --git a/src/cache.ts b/src/cache.ts index ac4c3be6..d81df17e 100644 --- a/src/cache.ts +++ b/src/cache.ts @@ -145,7 +145,7 @@ export async function save(id: string) { } else if (cacheHit) { // no change in target directories core.info( - `Cache hit occurred on the primary key ${primaryKey}, not saving cache.` + `${cacheHitString}: Cache hit occurred on the primary key ${primaryKey}, not saving cache.` ); return; }