BUILDID replaced by buildGuid in cloudformation
parent
9b0cb00508
commit
56ee75bc70
|
|
@ -3612,8 +3612,8 @@ class Input {
|
|||
}
|
||||
static branch() {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
if (Input.getInput(`REMOTE_BUILDER_CACHE`)) {
|
||||
return Input.getInput(`REMOTE_BUILDER_CACHE`);
|
||||
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`)
|
||||
|
|
@ -3627,9 +3627,6 @@ class Input {
|
|||
else if (Input.getInput('branch')) {
|
||||
return Input.getInput('branch');
|
||||
}
|
||||
else if (yield git_repo_1.GitRepoReader.GetBranch()) {
|
||||
return yield git_repo_1.GitRepoReader.GetBranch();
|
||||
}
|
||||
else {
|
||||
return 'remote-builder/unified-providers';
|
||||
}
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -45,8 +45,8 @@ class Input {
|
|||
return Input.getInput('GITHUB_REPOSITORY') || GitRepoReader.GetRemote() || 'game-ci/unity-builder';
|
||||
}
|
||||
static async branch() {
|
||||
if (Input.getInput(`REMOTE_BUILDER_CACHE`)) {
|
||||
return Input.getInput(`REMOTE_BUILDER_CACHE`);
|
||||
if (await GitRepoReader.GetBranch()) {
|
||||
return await GitRepoReader.GetBranch();
|
||||
} else if (Input.getInput(`GITHUB_REF`)) {
|
||||
return Input.getInput(`GITHUB_REF`)
|
||||
.split('/')
|
||||
|
|
@ -57,8 +57,6 @@ class Input {
|
|||
.join('');
|
||||
} else if (Input.getInput('branch')) {
|
||||
return Input.getInput('branch');
|
||||
} else if (await GitRepoReader.GetBranch()) {
|
||||
return await GitRepoReader.GetBranch();
|
||||
} else {
|
||||
return 'remote-builder/unified-providers';
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue