Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid downloading Gradle when version is pre-installed on runner #270

Closed
bigdaz opened this issue Jun 28, 2024 · 0 comments · Fixed by #301
Closed

Avoid downloading Gradle when version is pre-installed on runner #270

bigdaz opened this issue Jun 28, 2024 · 0 comments · Fixed by #301
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@bigdaz
Copy link
Member

bigdaz commented Jun 28, 2024

When setup-gradle is provided with a gradle-version input parameter, then this version is downloaded, installed and added to the PATH. If the required version of Gradle is already installed on the runner and on the PATH, then nothing needs to be done.

We should first check the version of Gradle that is pre-installed on the runner, and only provision Gradle when the pre-installed version does not match.

@bigdaz bigdaz added the enhancement New feature or request label Jun 28, 2024
@bigdaz bigdaz self-assigned this Jul 19, 2024
@bigdaz bigdaz added this to the v4.0.0 milestone Jul 19, 2024
@bigdaz bigdaz closed this as completed in 5d7c184 Jul 19, 2024
bigdaz added a commit that referenced this issue Jul 19, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fixes #270
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant