Do not checkout with git sha if undefined

pull/496/head
Frostebite 2023-01-28 20:50:53 +00:00
parent 36ecc47c3c
commit 2243b80312
3 changed files with 3 additions and 3 deletions

2
dist/index.js generated vendored
View File

@ -7193,7 +7193,7 @@ class Input {
return Input.getInput(`useIL2Cpp`) || true;
}
static get runNumber() {
return Input.getInput('GITHUB_RUN_NUMBER') || '0';
return Input.getInput('GITHUB_RUN_NUMBER') || Input.getInput('runNumber') || '0';
}
static get targetPlatform() {
return Input.getInput('targetPlatform') || platform_1.default.default;

2
dist/index.js.map generated vendored

File diff suppressed because one or more lines are too long

View File

@ -74,7 +74,7 @@ class Input {
}
static get runNumber() {
return Input.getInput('GITHUB_RUN_NUMBER') || '0';
return Input.getInput('GITHUB_RUN_NUMBER') || Input.getInput('runNumber') || '0';
}
static get targetPlatform() {