3
0
Fork 0
mirror of https://code.forgejo.org/actions/cache.git synced 2025-04-26 21:35:33 +00:00

Add debug hashing (won't work on windows)

This commit is contained in:
Josh Gross 2019-12-17 14:57:36 -05:00
parent b25804d19e
commit a70833fb48
4 changed files with 4 additions and 0 deletions

1
dist/save/index.js vendored
View file

@ -2980,6 +2980,7 @@ function run() {
core.debug(`Cache Path: ${cachePath}`);
const archivePath = path.join(yield utils.createTempDirectory(), "cache.tgz");
core.debug(`Archive Path: ${archivePath}`);
exec_1.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]
const IS_WINDOWS = process.platform === "win32";