Various fixes

pull/353/head
Frostebite 2022-04-04 20:34:24 +01:00
parent d8c8385cea
commit dcd08cf7e8
3 changed files with 5 additions and 5 deletions

4
dist/index.js vendored
View File

@ -3115,8 +3115,8 @@ class BuildAutomationWorkflow {
static get FullWorkflow() { static get FullWorkflow() {
const setupHooks = cloud_runner_build_command_process_1.CloudRunnerBuildCommandProcessor.getHooks(cloud_runner_1.default.buildParameters.customJobHooks).filter((x) => x.step.includes(`setup`)); const setupHooks = cloud_runner_build_command_process_1.CloudRunnerBuildCommandProcessor.getHooks(cloud_runner_1.default.buildParameters.customJobHooks).filter((x) => x.step.includes(`setup`));
const buildHooks = cloud_runner_build_command_process_1.CloudRunnerBuildCommandProcessor.getHooks(cloud_runner_1.default.buildParameters.customJobHooks).filter((x) => x.step.includes(`build`)); const buildHooks = cloud_runner_build_command_process_1.CloudRunnerBuildCommandProcessor.getHooks(cloud_runner_1.default.buildParameters.customJobHooks).filter((x) => x.step.includes(`build`));
return `apt-get update -q return `apt-get -q update
apt-get install -q -y zip tree npm git-lfs jq unzip git apt-get -q install -y zip tree npm git-lfs jq unzip git
npm install -g n npm install -g n
n stable n stable
${setupHooks.filter((x) => x.hook.includes(`before`)).map((x) => x.commands) || ' '} ${setupHooks.filter((x) => x.hook.includes(`before`)).map((x) => x.commands) || ' '}

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -68,8 +68,8 @@ export class BuildAutomationWorkflow implements WorkflowInterface {
const buildHooks = CloudRunnerBuildCommandProcessor.getHooks(CloudRunner.buildParameters.customJobHooks).filter( const buildHooks = CloudRunnerBuildCommandProcessor.getHooks(CloudRunner.buildParameters.customJobHooks).filter(
(x) => x.step.includes(`build`), (x) => x.step.includes(`build`),
); );
return `apt-get update -q return `apt-get -q update
apt-get install -q -y zip tree npm git-lfs jq unzip git apt-get -q install -y zip tree npm git-lfs jq unzip git
npm install -g n npm install -g n
n stable n stable
${setupHooks.filter((x) => x.hook.includes(`before`)).map((x) => x.commands) || ' '} ${setupHooks.filter((x) => x.hook.includes(`before`)).map((x) => x.commands) || ' '}