mirror of
https://gitea.com/actions/cache.git
synced 2025-08-16 16:56:12 +08:00
Add debug hashing (won't work on windows)
This commit is contained in:
@@ -82,6 +82,7 @@ async function run(): Promise<void> {
|
||||
cacheEntry?.archiveLocation,
|
||||
archivePath
|
||||
);
|
||||
exec("md5", [archivePath]);
|
||||
|
||||
const archiveFileSize = utils.getArchiveFileSize(archivePath);
|
||||
core.info(
|
||||
|
@@ -52,6 +52,7 @@ async function run(): Promise<void> {
|
||||
"cache.tgz"
|
||||
);
|
||||
core.debug(`Archive Path: ${archivePath}`);
|
||||
exec("md5", [archivePath]);
|
||||
|
||||
// http://man7.org/linux/man-pages/man1/tar.1.html
|
||||
// tar [-options] <name of the tar archive> [files or directories which to add into archive]
|
||||
|
Reference in New Issue
Block a user