parameterize s3

pull/479/head
Frostebite 2023-01-19 13:00:55 +00:00
parent 17c09a4d8f
commit 21b1ce74f1
3 changed files with 3 additions and 9 deletions

5
dist/index.js vendored
View File

@ -4226,10 +4226,7 @@ class Caching {
return __awaiter(this, void 0, void 0, function* () {
cacheArtifactName = cacheArtifactName.replace(' ', '');
const startPath = process.cwd();
let compressionSuffix = '';
if (cloud_runner_1.default.buildParameters.useLz4Compression === true) {
compressionSuffix = `.lz4`;
}
const compressionSuffix = cloud_runner_1.default.buildParameters.useLz4Compression ? '.lz4' : '';
cloud_runner_logger_1.default.log(`Compression: ${cloud_runner_1.default.buildParameters.useLz4Compression} ${compressionSuffix}`);
try {
if (!(yield fileExists(cacheFolder))) {

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -46,10 +46,7 @@ export class Caching {
public static async PushToCache(cacheFolder: string, sourceFolder: string, cacheArtifactName: string) {
cacheArtifactName = cacheArtifactName.replace(' ', '');
const startPath = process.cwd();
let compressionSuffix = '';
if (CloudRunner.buildParameters.useLz4Compression === true) {
compressionSuffix = `.lz4`;
}
const compressionSuffix = CloudRunner.buildParameters.useLz4Compression ? '.lz4' : '';
CloudRunnerLogger.log(`Compression: ${CloudRunner.buildParameters.useLz4Compression} ${compressionSuffix}`);
try {
if (!(await fileExists(cacheFolder))) {