run aws pipeline on new branch
parent
8c7b65187a
commit
3be5a110fb
|
|
@ -1,7 +1,7 @@
|
|||
name: Cloud Runner - AWS Tests
|
||||
|
||||
on:
|
||||
push: { branches: [main, aws, cloud-runner/unified-build-and-setup] }
|
||||
push: { branches: [main, aws, remote-builder/unified-providers] }
|
||||
|
||||
env:
|
||||
GKE_ZONE: 'us-central1'
|
||||
|
|
@ -15,7 +15,7 @@ env:
|
|||
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
||||
AWS_DEFAULT_REGION: eu-west-2
|
||||
AWS_BASE_STACK_NAME: game-ci-github-pipelines
|
||||
CLOUD_RUNNER_BRANCH: cloud-runner/unified-build-and-setup
|
||||
CLOUD_RUNNER_BRANCH: remote-builder/unified-providers
|
||||
CLOUD_RUNNER_TESTS: true
|
||||
DEBUG: true
|
||||
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
|
||||
|
|
|
|||
|
|
@ -3777,15 +3777,15 @@ class Input {
|
|||
}
|
||||
static branch() {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
if (yield git_repo_1.GitRepoReader.GetBranch()) {
|
||||
if (Input.getInput('branch')) {
|
||||
return Input.getInput('branch');
|
||||
}
|
||||
else if (yield git_repo_1.GitRepoReader.GetBranch()) {
|
||||
return yield git_repo_1.GitRepoReader.GetBranch();
|
||||
}
|
||||
else if (Input.getInput(`GITHUB_REF`)) {
|
||||
return Input.getInput(`GITHUB_REF`).replace('refs/', '').replace(`head/`, '');
|
||||
}
|
||||
else if (Input.getInput('branch')) {
|
||||
return Input.getInput('branch');
|
||||
}
|
||||
else {
|
||||
return 'main';
|
||||
}
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -44,13 +44,14 @@ class Input {
|
|||
'game-ci/unity-builder'
|
||||
);
|
||||
}
|
||||
|
||||
static async branch() {
|
||||
if (await GitRepoReader.GetBranch()) {
|
||||
if (Input.getInput('branch')) {
|
||||
return Input.getInput('branch');
|
||||
} else if (await GitRepoReader.GetBranch()) {
|
||||
return await GitRepoReader.GetBranch();
|
||||
} else if (Input.getInput(`GITHUB_REF`)) {
|
||||
return Input.getInput(`GITHUB_REF`).replace('refs/', '').replace(`head/`, '');
|
||||
} else if (Input.getInput('branch')) {
|
||||
return Input.getInput('branch');
|
||||
} else {
|
||||
return 'main';
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue