1
0
Fork 0
mirror of https://code.forgejo.org/actions/cache.git synced 2025-05-13 04:19:54 +02:00

Use correct hashing program

This commit is contained in:
Josh Gross 2019-12-17 15:05:04 -05:00
parent a70833fb48
commit 1c77f64ab3
4 changed files with 4 additions and 4 deletions

View file

@ -82,7 +82,7 @@ async function run(): Promise<void> {
cacheEntry?.archiveLocation,
archivePath
);
exec("md5", [archivePath]);
await exec(`md5sum`, [archivePath]);
const archiveFileSize = utils.getArchiveFileSize(archivePath);
core.info(

View file

@ -52,7 +52,7 @@ async function run(): Promise<void> {
"cache.tgz"
);
core.debug(`Archive Path: ${archivePath}`);
exec("md5", [archivePath]);
await exec(`md5sum`, [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]