Skip to content

Commit

Permalink
Remove cache checksum debug - close #24 (#26)
Browse files Browse the repository at this point in the history
* Remove cache checksum debug - close #24

*  Remove cache checksum debug on save

* Fix formatting
  • Loading branch information
Adam Dobrawy authored and Josh Gross committed Nov 1, 2019
1 parent d384987 commit 25e0c8f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
7 changes: 0 additions & 7 deletions src/restore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
7 changes: 0 additions & 7 deletions src/save.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 25e0c8f

Please sign in to comment.