if(total_count!==1||total_count!==actions_caches.length){// leave all find logic to the actual cache implementation. We just want to make sure we're returned a single element so we don't accidentally delete an entry that belongs to a different gitref.
// leave all find logic to the actual cache implementation. We just want to make sure we're returned a single element so we don't accidentally delete an entry that belongs to a different gitref.
if(total_count>1){
exports.logWarning(`More than one cache entry found for key ${key}`);
}
@ -75687,22 +75688,25 @@ function deleteCacheByKey(key, owner, repo) {
core.info(`Skip trying to delete cache entry for key ${key}.`);
if(total_count!==1||total_count!==actions_caches.length){// leave all find logic to the actual cache implementation. We just want to make sure we're returned a single element so we don't accidentally delete an entry that belongs to a different gitref.
// leave all find logic to the actual cache implementation. We just want to make sure we're returned a single element so we don't accidentally delete an entry that belongs to a different gitref.
if(total_count>1){
exports.logWarning(`More than one cache entry found for key ${key}`);
}
@ -75687,22 +75688,25 @@ function deleteCacheByKey(key, owner, repo) {
core.info(`Skip trying to delete cache entry for key ${key}.`);
if(total_count!==1||total_count!==actions_caches.length){// leave all find logic to the actual cache implementation. We just want to make sure we're returned a single element so we don't accidentally delete an entry that belongs to a different gitref.
// leave all find logic to the actual cache implementation. We just want to make sure we're returned a single element so we don't accidentally delete an entry that belongs to a different gitref.
if(total_count>1){
exports.logWarning(`More than one cache entry found for key ${key}`);
}
@ -75725,22 +75726,25 @@ function deleteCacheByKey(key, owner, repo) {
core.info(`Skip trying to delete cache entry for key ${key}.`);
if(total_count!==1||total_count!==actions_caches.length){// leave all find logic to the actual cache implementation. We just want to make sure we're returned a single element so we don't accidentally delete an entry that belongs to a different gitref.
// leave all find logic to the actual cache implementation. We just want to make sure we're returned a single element so we don't accidentally delete an entry that belongs to a different gitref.
if(total_count>1){
exports.logWarning(`More than one cache entry found for key ${key}`);
}
@ -75725,22 +75726,25 @@ function deleteCacheByKey(key, owner, repo) {
core.info(`Skip trying to delete cache entry for key ${key}.`);
if(total_count!==1||total_count!==actions_caches.length){// leave all find logic to the actual cache implementation. We just want to make sure we're returned a single element so we don't accidentally delete an entry that belongs to a different gitref.
// leave all find logic to the actual cache implementation. We just want to make sure we're returned a single element so we don't accidentally delete an entry that belongs to a different gitref.
if(total_count>1){
exports.logWarning(`More than one cache entry found for key ${key}`);
// This is the behavior seen when search doesn't find anything, but it is seen both when no key matches, as well as when the key matches but the entry belongs to another (likely the base) branch.
// This is the behavior seen when search doesn't find anything, but it is seen both when no key matches, as well as when the key matches but the entry belongs to another (likely the base) branch.