mirror of
https://github.com/gradle/gradle-build-action
synced 2024-11-27 12:02:15 +00:00
parent
15e064da79
commit
bf26498bc4
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue