tree cache push directory
parent
73bad04ed6
commit
92a3302787
|
|
@ -3861,7 +3861,8 @@ class Caching {
|
|||
}
|
||||
const contents = yield fs_1.default.promises.readdir(path_1.default.basename(sourceFolder));
|
||||
cloud_runner_logger_1.default.log(`There is ${contents.length} files/dir in the source folder ${path_1.default.basename(sourceFolder)}`);
|
||||
yield cloud_runner_system_1.CloudRunnerSystem.Run(`tree -L 3 ./..`);
|
||||
yield cloud_runner_system_1.CloudRunnerSystem.Run(`tree -L 2 ./..`);
|
||||
yield cloud_runner_system_1.CloudRunnerSystem.Run(`tree -L 2`);
|
||||
if (contents.length === 0) {
|
||||
cloud_runner_logger_1.default.log(`Did not push source folder to cache because it was empty ${path_1.default.basename(sourceFolder)}`);
|
||||
process.chdir(`${startPath}`);
|
||||
|
|
@ -4681,7 +4682,7 @@ class TaskParameterSerializer {
|
|||
// eslint-disable-next-line unicorn/no-array-reduce
|
||||
array.push(secrets.reduce((x, y) => [...x, ...y]));
|
||||
}
|
||||
const blocked = new Set(['0', 'length', 'prototype', '', 'projectPath', 'unityVersion']);
|
||||
const blocked = new Set(['0', 'length', 'prototype', '', 'unityVersion']);
|
||||
array = array.filter((x) => !blocked.has(x.name));
|
||||
array = array.map((x) => {
|
||||
x.name = __1.Input.ToEnvVarFormat(x.name);
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -63,7 +63,8 @@ export class Caching {
|
|||
CloudRunnerLogger.log(
|
||||
`There is ${contents.length} files/dir in the source folder ${path.basename(sourceFolder)}`,
|
||||
);
|
||||
await CloudRunnerSystem.Run(`tree -L 3 ./..`);
|
||||
await CloudRunnerSystem.Run(`tree -L 2 ./..`);
|
||||
await CloudRunnerSystem.Run(`tree -L 2`);
|
||||
|
||||
if (contents.length === 0) {
|
||||
CloudRunnerLogger.log(
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@ export class TaskParameterSerializer {
|
|||
array.push(secrets.reduce((x, y) => [...x, ...y]));
|
||||
}
|
||||
|
||||
const blocked = new Set(['0', 'length', 'prototype', '', 'projectPath', 'unityVersion']);
|
||||
const blocked = new Set(['0', 'length', 'prototype', '', 'unityVersion']);
|
||||
|
||||
array = array.filter((x) => !blocked.has(x.name));
|
||||
array = array.map((x) => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue