pipeline improvements

pull/496/head
Frostebite 2023-02-12 19:23:26 +00:00
parent 7108629f2e
commit df129e4545
1 changed files with 2 additions and 2 deletions

View File

@ -123,8 +123,8 @@ export class Caching {
await fs.promises.mkdir(destinationFolder);
}
await CloudRunnerSystem.Run(`ls -t "${cacheFolder}"`);
await CloudRunnerSystem.Run(`ls -t "${cacheFolder}" | grep .tar${compressionSuffix}$`);
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`)