Fix cache-hit state boolean cast
This commit is contained in:
2
dist/setup/index.js
vendored
2
dist/setup/index.js
vendored
@@ -131919,7 +131919,7 @@ function save(id) {
|
||||
core.warning('Error retrieving key from state.');
|
||||
return;
|
||||
}
|
||||
if (!!cacheHit || cacheHit !== 'false') {
|
||||
if (cacheHit === 'true') {
|
||||
// no change in target directories
|
||||
core.info(`${cacheHit}: Cache hit occurred on the primary key ${primaryKey}, not saving cache.`);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user