Fix cache-hit state boolean cast

This commit is contained in:
rak
2025-03-18 22:54:28 +01:00
parent 78f53588f3
commit 65a31a6cfe
3 changed files with 3 additions and 3 deletions

View File

@@ -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 {

2
dist/setup/index.js vendored
View File

@@ -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 {

View File

@@ -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;
}