Zipping within js code rather than linux pkgs

pull/310/head
Frostebite 2022-01-11 22:23:27 +00:00
parent 65b37933ac
commit b3c33a40b8
4 changed files with 1125 additions and 5 deletions

3
dist/index.js vendored
View File

@ -2988,10 +2988,9 @@ class SetupStep {
cloud_runner_logger_1.default.logLine('Starting step 1/2 (setup game files from repository)');
const hooks = cloud_runner_build_command_process_1.CloudRunnerBuildCommandProcessor.getHooks().filter((x) => x.step.includes(`setup`));
return yield cloud_runner_state_1.CloudRunnerState.CloudRunnerProviderPlatform.runTask(cloud_runner_state_1.CloudRunnerState.buildParams.buildGuid, image, `
${hooks.filter((x) => x.hook.includes(`before`)).map((x) => x.commands) || ' '}
apk update -q
apk add git-lfs jq tree nodejs -q
${__1.Input.cloudRunnerTests ? '' : '#'} apk add tree -q
${hooks.filter((x) => x.hook.includes(`before`)).map((x) => x.commands) || ' '}
export GIT_DISCOVERY_ACROSS_FILESYSTEM=1
mkdir -p ${cloud_runner_state_1.CloudRunnerState.builderPathFull.replace(/\\/g, `/`)}
git clone -q -b ${cloud_runner_state_1.CloudRunnerState.branchName} ${cloud_runner_state_1.CloudRunnerState.unityBuilderRepoUrl} "${cloud_runner_state_1.CloudRunnerState.builderPathFull.replace(/\\/g, `/`)}"

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

1122
dist/licenses.txt vendored

File diff suppressed because it is too large Load Diff

View File

@ -34,10 +34,9 @@ export class SetupStep implements StepInterface {
CloudRunnerState.buildParams.buildGuid,
image,
`
${hooks.filter((x) => x.hook.includes(`before`)).map((x) => x.commands) || ' '}
apk update -q
apk add git-lfs jq tree nodejs -q
${Input.cloudRunnerTests ? '' : '#'} apk add tree -q
${hooks.filter((x) => x.hook.includes(`before`)).map((x) => x.commands) || ' '}
export GIT_DISCOVERY_ACROSS_FILESYSTEM=1
mkdir -p ${CloudRunnerState.builderPathFull.replace(/\\/g, `/`)}
git clone -q -b ${CloudRunnerState.branchName} ${