zip lfs verbose

pull/310/head
Frostebite 2021-12-24 03:07:36 +00:00
parent 90a669d177
commit ac7681e5f5
3 changed files with 3 additions and 3 deletions

2
dist/index.js vendored
View File

@ -2142,7 +2142,7 @@ class DownloadRepository {
yield run_cli_1.RunCli.RunCli(`git lfs pull`); yield run_cli_1.RunCli.RunCli(`git lfs pull`);
cloud_runner_logger_1.default.log(`pulled latest LFS files`); cloud_runner_logger_1.default.log(`pulled latest LFS files`);
process.chdir(`${cloud_runner_state_1.CloudRunnerState.lfsDirectory}/..`); process.chdir(`${cloud_runner_state_1.CloudRunnerState.lfsDirectory}/..`);
yield run_cli_1.RunCli.RunCli(`zip -q -r "${LFS_ASSETS_HASH}.zip" "./lfs"`); yield run_cli_1.RunCli.RunCli(`zip -r "${LFS_ASSETS_HASH}.zip" "./lfs"`);
fs_1.default.copyFileSync(`${LFS_ASSETS_HASH}.zip`, lfsCacheFolder); fs_1.default.copyFileSync(`${LFS_ASSETS_HASH}.zip`, lfsCacheFolder);
cloud_runner_logger_1.default.log(`copied ${LFS_ASSETS_HASH} to ${lfsCacheFolder}`); cloud_runner_logger_1.default.log(`copied ${LFS_ASSETS_HASH} to ${lfsCacheFolder}`);
if (process.env.purgeRemoteCaching !== undefined) { if (process.env.purgeRemoteCaching !== undefined) {

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -108,7 +108,7 @@ export class DownloadRepository {
await RunCli.RunCli(`git lfs pull`); await RunCli.RunCli(`git lfs pull`);
CloudRunnerLogger.log(`pulled latest LFS files`); CloudRunnerLogger.log(`pulled latest LFS files`);
process.chdir(`${CloudRunnerState.lfsDirectory}/..`); process.chdir(`${CloudRunnerState.lfsDirectory}/..`);
await RunCli.RunCli(`zip -q -r "${LFS_ASSETS_HASH}.zip" "./lfs"`); await RunCli.RunCli(`zip -r "${LFS_ASSETS_HASH}.zip" "./lfs"`);
fs.copyFileSync(`${LFS_ASSETS_HASH}.zip`, lfsCacheFolder); fs.copyFileSync(`${LFS_ASSETS_HASH}.zip`, lfsCacheFolder);
CloudRunnerLogger.log(`copied ${LFS_ASSETS_HASH} to ${lfsCacheFolder}`); CloudRunnerLogger.log(`copied ${LFS_ASSETS_HASH} to ${lfsCacheFolder}`);
if (process.env.purgeRemoteCaching !== undefined) { if (process.env.purgeRemoteCaching !== undefined) {