mirror of
https://github.com/gradle/gradle-build-action.git
synced 2024-12-25 14:46:18 +08:00
Add missing await
This commit is contained in:
parent
c5e1979a6b
commit
15e064da79
@ -40,7 +40,7 @@ async function resolveGradleExecutable(baseDirectory: string): Promise<string> {
|
|||||||
|
|
||||||
const gradleVersion = inputOrNull("gradle-version");
|
const gradleVersion = inputOrNull("gradle-version");
|
||||||
if (gradleVersion != null) {
|
if (gradleVersion != null) {
|
||||||
return path.resolve(provision.gradleVersion(gradleVersion))
|
return path.resolve(await provision.gradleVersion(gradleVersion))
|
||||||
}
|
}
|
||||||
|
|
||||||
const gradleExecutable = inputOrNull("gradle-executable");
|
const gradleExecutable = inputOrNull("gradle-executable");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user