mirror of
https://github.com/game-ci/unity-builder.git
synced 2025-07-07 20:35:33 -04:00
fix
This commit is contained in:
parent
3592835a3e
commit
6ffa535fbf
BIN
dist/index.js
generated
vendored
BIN
dist/index.js
generated
vendored
Binary file not shown.
BIN
dist/index.js.map
generated
vendored
BIN
dist/index.js.map
generated
vendored
Binary file not shown.
@ -50,12 +50,9 @@ export class BuildAutomationWorkflow implements WorkflowInterface {
|
|||||||
const buildHooks = CommandHookService.getHooks(CloudRunner.buildParameters.commandHooks).filter((x) =>
|
const buildHooks = CommandHookService.getHooks(CloudRunner.buildParameters.commandHooks).filter((x) =>
|
||||||
x.step?.includes(`build`),
|
x.step?.includes(`build`),
|
||||||
);
|
);
|
||||||
|
const builderPath = CloudRunnerFolders.ToLinuxFolder(
|
||||||
const builderPath = CloudRunnerFolders.ToLinuxFolder(path.join(CloudRunnerFolders.builderPathAbsolute));
|
path.join(CloudRunnerFolders.builderPathAbsolute, 'dist', `index.js`),
|
||||||
|
);
|
||||||
// const builderPath = CloudRunnerFolders.ToLinuxFolder(
|
|
||||||
// path.join(CloudRunnerFolders.builderPathAbsolute, 'dist', `index.js`),
|
|
||||||
// );
|
|
||||||
|
|
||||||
return `echo "cloud runner build workflow starting"
|
return `echo "cloud runner build workflow starting"
|
||||||
apt-get update > /dev/null
|
apt-get update > /dev/null
|
||||||
@ -93,9 +90,8 @@ export class BuildAutomationWorkflow implements WorkflowInterface {
|
|||||||
|
|
||||||
return `export GIT_DISCOVERY_ACROSS_FILESYSTEM=1
|
return `export GIT_DISCOVERY_ACROSS_FILESYSTEM=1
|
||||||
${cloneBuilderCommands}
|
${cloneBuilderCommands}
|
||||||
yarn install --cwd ${builderPath}
|
|
||||||
echo "log start" >> /home/job-log.txt
|
echo "log start" >> /home/job-log.txt
|
||||||
yarn run cli --cwd ${builderPath} -m remote-cli-pre-build`;
|
node ${builderPath} -m remote-cli-pre-build`;
|
||||||
}
|
}
|
||||||
|
|
||||||
private static BuildCommands(builderPath: string) {
|
private static BuildCommands(builderPath: string) {
|
||||||
@ -112,7 +108,7 @@ yarn run cli --cwd ${builderPath} -m remote-cli-pre-build`;
|
|||||||
chmod -R +x "/steps"
|
chmod -R +x "/steps"
|
||||||
echo "game ci start"
|
echo "game ci start"
|
||||||
echo "game ci start" >> /home/job-log.txt
|
echo "game ci start" >> /home/job-log.txt
|
||||||
/entrypoint.sh | yarn run cli --cwd ${builderPath} -m remote-cli-log-stream --logFile /home/job-log.txt
|
/entrypoint.sh | node ${builderPath} -m remote-cli-log-stream --logFile /home/job-log.txt
|
||||||
yarn run cli --cwd ${builderPath} -m remote-cli-post-build`;
|
node ${builderPath} -m remote-cli-post-build`;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user