Skip to content

Commit

Permalink
Remove 'gradle-executable' input param
Browse files Browse the repository at this point in the history
  • Loading branch information
bigdaz committed Jan 4, 2024
1 parent 345641a commit 18c14f0
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 14 deletions.
5 changes: 0 additions & 5 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,6 @@ inputs:
required: false
deprecation-message: Using the action to execute Gradle directly is deprecated in favor of using the action to setup Gradle, and executing Gradle in a subsequent Step. See https://github.com/gradle/gradle-build-action?tab=readme-ov-file#use-the-action-to-setup-gradle.

gradle-executable:
description: Path to the Gradle executable. If specified, this executable will be added to the PATH and used for invoking Gradle.
required: false
deprecation-message: Using the action to execute Gradle directly is deprecated in favor of using the action to setup Gradle, and executing Gradle in a subsequent Step. See https://github.com/gradle/gradle-build-action?tab=readme-ov-file#use-the-action-to-setup-gradle.

generate-job-summary:
description: When 'false', no Job Summary will be generated for the Job.
required: false
Expand Down
4 changes: 0 additions & 4 deletions src/input-params.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,6 @@ export function getGradleVersion(): string {
return core.getInput('gradle-version')
}

export function getGradleExecutable(): string {
return core.getInput('gradle-executable')
}

export function getArguments(): string[] {
const input = core.getInput('arguments')
return parseArgsStringToArgv(input)
Expand Down
5 changes: 0 additions & 5 deletions src/provision.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,6 @@ export async function provisionGradle(): Promise<string | undefined> {
return addToPath(await installGradle(gradleVersion))
}

const gradleExecutable = params.getGradleExecutable()
if (gradleExecutable !== '') {
return addToPath(gradleExecutable)
}

return undefined
}

Expand Down

0 comments on commit 18c14f0

Please sign in to comment.