pull/310/head
Frostebite 2021-12-26 02:37:11 +00:00
parent 4a97d4acc8
commit cf7b9938b7
3 changed files with 3 additions and 3 deletions

2
dist/index.js vendored
View File

@ -609,7 +609,7 @@ class SetupRemoteRepository {
static cacheLatestLFSFiles(LFS_ASSETS_HASH, lfsCacheFolder) {
return __awaiter(this, void 0, void 0, function* () {
process.chdir(`${cloud_runner_state_1.CloudRunnerState.lfsDirectory}/..`);
yield remote_client_system_1.RemoteClientSystem.Run(`zip -r "${LFS_ASSETS_HASH}.zip" "./lfs"`);
yield remote_client_system_1.RemoteClientSystem.Run(`zip -r ${LFS_ASSETS_HASH}.zip "lfs"`);
fs_1.default.copyFileSync(`${LFS_ASSETS_HASH}.zip`, lfsCacheFolder);
cloud_runner_logger_1.default.logRemoteCli(`copied ${LFS_ASSETS_HASH} to ${lfsCacheFolder}`);
});

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -74,7 +74,7 @@ export class SetupRemoteRepository {
private static async cacheLatestLFSFiles(LFS_ASSETS_HASH: string, lfsCacheFolder: string) {
process.chdir(`${CloudRunnerState.lfsDirectory}/..`);
await RemoteClientSystem.Run(`zip -r "${LFS_ASSETS_HASH}.zip" "./lfs"`);
await RemoteClientSystem.Run(`zip -r ${LFS_ASSETS_HASH}.zip "lfs"`);
fs.copyFileSync(`${LFS_ASSETS_HASH}.zip`, lfsCacheFolder);
CloudRunnerLogger.logRemoteCli(`copied ${LFS_ASSETS_HASH} to ${lfsCacheFolder}`);
}