From 25e0c8faac42f323280d4d39373a00d402bd5e11 Mon Sep 17 00:00:00 2001 From: Adam Dobrawy Date: Fri, 1 Nov 2019 20:24:11 +0100 Subject: [PATCH] Remove cache checksum debug - close #24 (#26) * Remove cache checksum debug - close #24 * Remove cache checksum debug on save * Fix formatting --- src/restore.ts | 7 ------- src/save.ts | 7 ------- 2 files changed, 14 deletions(-) diff --git a/src/restore.ts b/src/restore.ts index f93ef51..66a45aa 100644 --- a/src/restore.ts +++ b/src/restore.ts @@ -94,13 +94,6 @@ async function run() { core.info( `Cache restored from key:${cacheEntry && cacheEntry.cacheKey}` ); - - try { - core.info("Cache Checksum:"); - await exec(`md5sum`, [`${archivePath}`]); - } catch (error) { - core.debug(`Failed to checkum with ${error}`); - } } catch (error) { core.warning(error.message); utils.setCacheHitOutput(false); diff --git a/src/save.ts b/src/save.ts index e03954f..f688e70 100644 --- a/src/save.ts +++ b/src/save.ts @@ -66,13 +66,6 @@ async function run() { const stream = fs.createReadStream(archivePath); await cacheHttpClient.saveCache(stream, primaryKey); - - try { - core.info("Cache Checksum:"); - await exec(`md5sum`, [`${archivePath}`]); - } catch (error) { - core.debug(`Failed to checkum with ${error}`); - } } catch (error) { core.warning(error.message); }