mirror of
https://github.com/gradle/gradle-build-action.git
synced 2024-12-25 15:16:18 +08:00
parent
15e064da79
commit
bf26498bc4
@ -39,7 +39,7 @@ run();
|
|||||||
async function resolveGradleExecutable(baseDirectory: string): Promise<string> {
|
async function resolveGradleExecutable(baseDirectory: string): Promise<string> {
|
||||||
|
|
||||||
const gradleVersion = inputOrNull("gradle-version");
|
const gradleVersion = inputOrNull("gradle-version");
|
||||||
if (gradleVersion != null) {
|
if (gradleVersion != null && gradleVersion != "wrapper") {
|
||||||
return path.resolve(await provision.gradleVersion(gradleVersion))
|
return path.resolve(await provision.gradleVersion(gradleVersion))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user