mirror of
https://github.com/gradle/gradle-build-action.git
synced 2024-11-23 09:32:50 +00:00
build
This commit is contained in:
parent
a2ba194e38
commit
d0c5f7955e
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ run();
|
||||||
function resolveGradleExecutable(baseDirectory) {
|
function resolveGradleExecutable(baseDirectory) {
|
||||||
return __awaiter(this, void 0, void 0, function* () {
|
return __awaiter(this, void 0, void 0, function* () {
|
||||||
const gradleVersion = inputOrNull("gradle-version");
|
const gradleVersion = inputOrNull("gradle-version");
|
||||||
if (gradleVersion != null) {
|
if (gradleVersion != null && gradleVersion != "wrapper") {
|
||||||
return path.resolve(yield provision.gradleVersion(gradleVersion));
|
return path.resolve(yield provision.gradleVersion(gradleVersion));
|
||||||
}
|
}
|
||||||
const gradleExecutable = inputOrNull("gradle-executable");
|
const gradleExecutable = inputOrNull("gradle-executable");
|
||||||
|
|
Loading…
Reference in a new issue