extract lib in caching flow

pull/496/head
Frostebite 2023-02-13 17:00:02 +00:00
parent dd3bc16a63
commit 56642dd610
3 changed files with 1 additions and 6 deletions

2
dist/index.js generated vendored
View File

@ -4404,8 +4404,6 @@ class Caching {
if (!(yield fileExists(destinationFolder))) {
yield fs_1.default.promises.mkdir(destinationFolder);
}
// CloudRunnerLogger.log(await CloudRunnerSystem.Run(`ls -t "${cacheFolder}"`));
// CloudRunnerLogger.log(await CloudRunnerSystem.Run(`ls -t "${cacheFolder}" | grep .tar${compressionSuffix}$`));
const latestInBranch = yield (yield cloud_runner_system_1.CloudRunnerSystem.Run(`ls -t "${cacheFolder}" | grep .tar${compressionSuffix}$ | head -1`))
.replace(/\n/g, ``)
.replace(`.tar${compressionSuffix}`, '');

2
dist/index.js.map generated vendored

File diff suppressed because one or more lines are too long

View File

@ -127,9 +127,6 @@ export class Caching {
await fs.promises.mkdir(destinationFolder);
}
// CloudRunnerLogger.log(await CloudRunnerSystem.Run(`ls -t "${cacheFolder}"`));
// CloudRunnerLogger.log(await CloudRunnerSystem.Run(`ls -t "${cacheFolder}" | grep .tar${compressionSuffix}$`));
const latestInBranch = await (
await CloudRunnerSystem.Run(`ls -t "${cacheFolder}" | grep .tar${compressionSuffix}$ | head -1`)
)