mirror of
https://github.com/gradle/actions.git
synced 2025-11-26 17:09:10 +08:00
[bot] Update dist directory
This commit is contained in:
committed by
github-actions[bot]
parent
4b7cc6e174
commit
faf4eeacd5
2
dist/dependency-submission/main/index.js
vendored
2
dist/dependency-submission/main/index.js
vendored
@@ -182631,7 +182631,7 @@ async function findGradleVersionOnPath(versionInfo) {
|
||||
const gradleExecutable = await (0, which_1.default)('gradle', { nothrow: true });
|
||||
if (gradleExecutable) {
|
||||
const output = await exec.getExecOutput(gradleExecutable, ['-v'], { silent: true });
|
||||
if (output.stdout.includes(`Gradle ${versionInfo.version}`)) {
|
||||
if (output.stdout.includes(`\nGradle ${versionInfo.version}\n`)) {
|
||||
return gradleExecutable;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user