mirror of
https://code.forgejo.org/actions/cache.git
synced 2025-04-23 03:45:31 +00:00
Move hashsum after tar creation
This commit is contained in:
parent
1c77f64ab3
commit
64668e22dd
2 changed files with 2 additions and 2 deletions
|
@ -52,7 +52,6 @@ async function run(): Promise<void> {
|
|||
"cache.tgz"
|
||||
);
|
||||
core.debug(`Archive Path: ${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]
|
||||
|
@ -85,6 +84,7 @@ async function run(): Promise<void> {
|
|||
return;
|
||||
}
|
||||
|
||||
await exec(`md5sum`, [archivePath]);
|
||||
core.debug("Saving Cache");
|
||||
await cacheHttpClient.saveCache(cacheId, archivePath);
|
||||
} catch (error) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue