Hi.
We are using the setup-gradle action with the default configuration 'gradle-version: wrapper'.
In the section ‘Post Setup Gradle’, the action tries to download Gradle 8.11 from services.gradle.org, even though we have a Gradle Wrapper configuration with Gradle 8.10.2 (from an on-premise webserver) configured:
Provision Gradle >= 8.11
Gradle distribution 8.11 not found in cache. Will download.
Downloaded https://services.gradle.org/distributions/gradle-8.11-bin.zip to /__w/_temp/.gradle-actions/gradle-installations/downloads/gradle-8.11-bin.zip (size 136917193)
…
This doesn't work in our corporate network, since the proxy slows down the download drastically.
Would be nice, if ...
- ...either the Gradle Wrapper configuration could be found and reused for cache cleanup
- ...or the download URL would be configurable.
The first option seems more appealing to me.
This issue is related to #436.
Thank you, Stefan