File tree 2 files changed +2
-6
lines changed 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -66944,9 +66944,7 @@ async function restoreAsdfCache() {
66944
66944
];
66945
66945
core3.debug(`Restoring ${paths.join(", ")} from cache with key "${cacheKey}" using restore keys "${restoreKeys.join(", ")}"`);
66946
66946
const foundCacheKey = await cache.restoreCache(paths, cacheKey, restoreKeys);
66947
- if (foundCacheKey) {
66948
- core3.info(`Cache restored with key "${foundCacheKey}"`);
66949
- } else {
66947
+ if (!foundCacheKey) {
66950
66948
core3.info(`No cache found with key "${cacheKey}, "${restoreKeys.join(", ")}"`);
66951
66949
}
66952
66950
return foundCacheKey;
Original file line number Diff line number Diff line change @@ -46,9 +46,7 @@ export async function restoreAsdfCache() {
46
46
47
47
core . debug ( `Restoring ${ paths . join ( ', ' ) } from cache with key "${ cacheKey } " using restore keys "${ restoreKeys . join ( ', ' ) } "` ) ;
48
48
const foundCacheKey = await cache . restoreCache ( paths , cacheKey , restoreKeys ) ;
49
- if ( foundCacheKey ) {
50
- core . info ( `Cache restored with key "${ foundCacheKey } "` ) ;
51
- } else {
49
+ if ( ! foundCacheKey ) {
52
50
core . info ( `No cache found with key "${ cacheKey } , "${ restoreKeys . join ( ', ' ) } "` ) ;
53
51
}
54
52
You can’t perform that action at this time.
0 commit comments