pull/310/head
Frostebite 2021-12-31 15:06:35 +00:00
parent 775d61092e
commit 0b5fb0518a
3 changed files with 11 additions and 3 deletions

5
dist/index.js vendored
View File

@ -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() {

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -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()) {