better defaults

pull/353/head
Mark D 2022-04-03 03:26:49 +01:00
parent af3f117e87
commit 609c8c968f
2 changed files with 6 additions and 3 deletions

7
dist/index.js vendored
View File

@ -3235,7 +3235,7 @@ class BuildAutomationWorkflow {
${cloud_runner_1.default.buildParameters.cloudRunnerIntegrationTests ? '' : '#'} tree ${cloud_runner_folders_1.CloudRunnerFolders.builderPathFull.replace(/\\/g, `/`)}
chmod +x ${path_1.default.join(cloud_runner_folders_1.CloudRunnerFolders.builderPathFull, 'dist', `index.js`).replace(/\\/g, `/`)}
echo "caching"
ls ${path_1.default.join(cloud_runner_folders_1.CloudRunnerFolders.builderPathFull, 'dist').replace(/\\/g, `/`)}
node --version
node ${path_1.default.join(cloud_runner_folders_1.CloudRunnerFolders.builderPathFull, 'dist', `index.js`).replace(/\\/g, `/`)} -m remote-cli`;
}
static get BuildCommands() {
@ -4068,7 +4068,7 @@ class Input {
}
}
static get cloudRunnerBuilderPlatform() {
return Input.getInput('cloudRunnerBuilderPlatform') || false;
return Input.cloudRunnerCluster === 'local' ? Input.getInput('cloudRunnerBuilderPlatform') || false : 'linux';
}
static get gitSha() {
if (Input.getInput(`GITHUB_SHA`)) {
@ -4187,6 +4187,9 @@ class Input {
return Input.getInput('awsBaseStackName') || 'game-ci';
}
static get cloudRunnerCluster() {
if (Input.cliMode) {
return Input.getInput('cloudRunnerCluster') || 'aws';
}
return Input.getInput('cloudRunnerCluster') || 'local';
}
static get cloudRunnerCpu() {

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long