Fix lib caching
parent
e57d9d0a83
commit
43e8b522ae
|
|
@ -669,7 +669,8 @@ class SetupRemoteRepository {
|
|||
yield remote_client_system_1.RemoteClientSystem.Run(`ls -lh "${libraryCacheFolder}"`);
|
||||
cloud_runner_logger_1.default.logCli(`Checking if Library cache ${libraryCacheFolder}/${latestLibraryCacheFile} exists`);
|
||||
const latestCacheFilePath = path_1.default.join(libraryCacheFolder, latestLibraryCacheFile);
|
||||
if (yield SetupRemoteRepository.checkFileExists(latestCacheFilePath)) {
|
||||
process.chdir(libraryCacheFolder);
|
||||
if (yield SetupRemoteRepository.checkFileExists(latestLibraryCacheFile)) {
|
||||
cloud_runner_logger_1.default.logCli(`Library cache exists`);
|
||||
yield remote_client_system_1.RemoteClientSystem.Run(`unzip -q "${latestCacheFilePath}" -d "$projectPathFull"`);
|
||||
}
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -132,7 +132,8 @@ export class SetupRemoteRepository {
|
|||
await RemoteClientSystem.Run(`ls -lh "${libraryCacheFolder}"`);
|
||||
CloudRunnerLogger.logCli(`Checking if Library cache ${libraryCacheFolder}/${latestLibraryCacheFile} exists`);
|
||||
const latestCacheFilePath = path.join(libraryCacheFolder, latestLibraryCacheFile);
|
||||
if (await SetupRemoteRepository.checkFileExists(latestCacheFilePath)) {
|
||||
process.chdir(libraryCacheFolder);
|
||||
if (await SetupRemoteRepository.checkFileExists(latestLibraryCacheFile)) {
|
||||
CloudRunnerLogger.logCli(`Library cache exists`);
|
||||
await RemoteClientSystem.Run(`unzip -q "${latestCacheFilePath}" -d "$projectPathFull"`);
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in New Issue