Commit 25e0c8fa authored by Adam Dobrawy's avatar Adam Dobrawy Committed by Josh Gross
Browse files

Remove cache checksum debug - close #24 (#26)

* Remove cache checksum debug - close #24

*  Remove cache checksum debug on save

* Fix formatting
parent d3849876
Loading
Loading
Loading
Loading
−7
Changes for src/restore.ts: 0 added lines, 7 removed lines.
Original line number Diff line number Diff line
@@ -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);
−7
Changes for src/save.ts: 0 added lines, 7 removed lines.
Original line number Diff line number Diff line
@@ -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);
    }