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.

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