Fix cache-hit state boolean cast
This commit is contained in:
2
dist/cleanup/index.js
vendored
2
dist/cleanup/index.js
vendored
@@ -96672,7 +96672,7 @@ function save(id) {
|
|||||||
}
|
}
|
||||||
else if (cacheHit) {
|
else if (cacheHit) {
|
||||||
// no change in target directories
|
// 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;
|
return;
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
|
|||||||
2
dist/setup/index.js
vendored
2
dist/setup/index.js
vendored
@@ -131921,7 +131921,7 @@ function save(id) {
|
|||||||
}
|
}
|
||||||
else if (cacheHit) {
|
else if (cacheHit) {
|
||||||
// no change in target directories
|
// 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;
|
return;
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
|
|||||||
@@ -145,7 +145,7 @@ export async function save(id: string) {
|
|||||||
} else if (cacheHit) {
|
} else if (cacheHit) {
|
||||||
// no change in target directories
|
// no change in target directories
|
||||||
core.info(
|
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;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user