shorter names

pull/524/head
Frostebite 2023-03-19 22:20:48 +00:00
parent d339387d5e
commit 6909d78c11
5 changed files with 15 additions and 15 deletions

8
dist/index.js generated vendored
View File

@ -303,7 +303,7 @@ class BuildParameters {
asyncWorkflow: cloud_runner_options_1.default.asyncCloudRunner,
githubCheckId: cloud_runner_options_1.default.githubCheckId,
finalHooks: cloud_runner_options_1.default.finalHooks,
skipLFS: cloud_runner_options_1.default.skipLFS,
skipLFS: cloud_runner_options_1.default.skipLfs,
skipCache: cloud_runner_options_1.default.skipCache,
cacheUnityInstallationOnMac: input_1.default.cacheUnityInstallationOnMac,
unityHubVersionOnMac: input_1.default.unityHubVersionOnMac,
@ -884,8 +884,8 @@ class CloudRunnerOptions {
CloudRunnerOptions.getInput(`cloudRunnerDebugEnv`) === `true` ||
false);
}
static get skipLFS() {
return CloudRunnerOptions.getInput(`skipLFS`) === `true` || false;
static get skipLfs() {
return CloudRunnerOptions.getInput(`skipLfs`) === `true` || false;
}
static get skipCache() {
return CloudRunnerOptions.getInput(`skipCache`) === `true` || false;
@ -5837,12 +5837,12 @@ class CustomWorkflow {
}
static async runCustomJob(buildSteps, environmentVariables, secrets) {
try {
cloud_runner_logger_1.default.log(`Cloud Runner is running in custom job mode Secrets Count:${JSON.stringify(secrets, undefined, 4)} Env Var Count:${JSON.stringify(environmentVariables, undefined, 4)}`);
let output = '';
// if (CloudRunner.buildParameters?.cloudRunnerDebug) {
// CloudRunnerLogger.log(`Custom Job Description \n${JSON.stringify(buildSteps, undefined, 4)}`);
// }
for (const step of buildSteps) {
cloud_runner_logger_1.default.log(`Cloud Runner is running in custom job mode Secrets Count:${JSON.stringify([...secrets, ...step.secrets], undefined, 4)} Env Var Count:${JSON.stringify(environmentVariables, undefined, 4)}`);
output += await cloud_runner_1.default.Provider.runTaskInWorkflow(cloud_runner_1.default.buildParameters.buildGuid, step.image, step.commands, `/${cloud_runner_folders_1.CloudRunnerFolders.buildVolumeFolder}`, `/${cloud_runner_folders_1.CloudRunnerFolders.projectPathAbsolute}/`, environmentVariables, [...secrets, ...step.secrets]);
}
return output;

2
dist/index.js.map generated vendored

File diff suppressed because one or more lines are too long

View File

@ -182,7 +182,7 @@ class BuildParameters {
asyncWorkflow: CloudRunnerOptions.asyncCloudRunner,
githubCheckId: CloudRunnerOptions.githubCheckId,
finalHooks: CloudRunnerOptions.finalHooks,
skipLFS: CloudRunnerOptions.skipLFS,
skipLFS: CloudRunnerOptions.skipLfs,
skipCache: CloudRunnerOptions.skipCache,
cacheUnityInstallationOnMac: Input.cacheUnityInstallationOnMac,
unityHubVersionOnMac: Input.unityHubVersionOnMac,

View File

@ -246,8 +246,8 @@ class CloudRunnerOptions {
false
);
}
static get skipLFS(): boolean {
return CloudRunnerOptions.getInput(`skipLFS`) === `true` || false;
static get skipLfs(): boolean {
return CloudRunnerOptions.getInput(`skipLfs`) === `true` || false;
}
static get skipCache(): boolean {
return CloudRunnerOptions.getInput(`skipCache`) === `true` || false;

View File

@ -25,19 +25,19 @@ export class CustomWorkflow {
secrets: CloudRunnerSecret[],
) {
try {
CloudRunnerLogger.log(
`Cloud Runner is running in custom job mode Secrets Count:${JSON.stringify(
secrets,
undefined,
4,
)} Env Var Count:${JSON.stringify(environmentVariables, undefined, 4)}`,
);
let output = '';
// if (CloudRunner.buildParameters?.cloudRunnerDebug) {
// CloudRunnerLogger.log(`Custom Job Description \n${JSON.stringify(buildSteps, undefined, 4)}`);
// }
for (const step of buildSteps) {
CloudRunnerLogger.log(
`Cloud Runner is running in custom job mode Secrets Count:${JSON.stringify(
[...secrets, ...step.secrets],
undefined,
4,
)} Env Var Count:${JSON.stringify(environmentVariables, undefined, 4)}`,
);
output += await CloudRunner.Provider.runTaskInWorkflow(
CloudRunner.buildParameters.buildGuid,
step.image,