mirror of
https://github.com/gradle/gradle-build-action.git
synced 2024-12-25 14:56:18 +08:00
build
This commit is contained in:
parent
a2ba194e38
commit
d0c5f7955e
@ -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…
x
Reference in New Issue
Block a user