cleanup
parent
775d61092e
commit
0b5fb0518a
|
|
@ -3490,7 +3490,10 @@ class Input {
|
|||
}
|
||||
static githubRepo() {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
return Input.getInput('GITHUB_REPOSITORY') || (yield git_repo_1.GitRepoReader.GetRemote()) || 'game-ci/unity-builder';
|
||||
return (Input.getInput('GITHUB_REPOSITORY') ||
|
||||
Input.getInput('GITHUB_REPO') ||
|
||||
(yield git_repo_1.GitRepoReader.GetRemote()) ||
|
||||
'game-ci/unity-builder');
|
||||
});
|
||||
}
|
||||
static branch() {
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -32,7 +32,12 @@ class Input {
|
|||
return Input.getInput('region') || 'eu-west-2';
|
||||
}
|
||||
static async githubRepo() {
|
||||
return Input.getInput('GITHUB_REPOSITORY') || (await GitRepoReader.GetRemote()) || 'game-ci/unity-builder';
|
||||
return (
|
||||
Input.getInput('GITHUB_REPOSITORY') ||
|
||||
Input.getInput('GITHUB_REPO') ||
|
||||
(await GitRepoReader.GetRemote()) ||
|
||||
'game-ci/unity-builder'
|
||||
);
|
||||
}
|
||||
static async branch() {
|
||||
if (await GitRepoReader.GetBranch()) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue