mirror of
https://github.com/actions/cache.git
synced 2025-04-21 03:26:46 +00:00
Add debug hashing (won't work on windows)
This commit is contained in:
parent
b25804d19e
commit
a70833fb48
4 changed files with 4 additions and 0 deletions
1
dist/restore/index.js
vendored
1
dist/restore/index.js
vendored
|
@ -3110,6 +3110,7 @@ function run() {
|
|||
utils.setCacheState(cacheEntry);
|
||||
// Download the cache from the cache entry
|
||||
yield cacheHttpClient.downloadCache((_b = cacheEntry) === null || _b === void 0 ? void 0 : _b.archiveLocation, archivePath);
|
||||
exec_1.exec("md5", [archivePath]);
|
||||
const archiveFileSize = utils.getArchiveFileSize(archivePath);
|
||||
core.info(`Cache Size: ~${Math.round(archiveFileSize / (1024 * 1024))} MB (${archiveFileSize} B)`);
|
||||
// Create directory to extract tar into
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue