Oliver.O
06/14/2024, 9:38 PMgradle/actions/setup-gradle@v3
is remarkably slow, particularly when running on Windows ( 9 minutes)>. Any idea why this happens and how it could be improved?Oliver.O
06/14/2024, 9:54 PMOliver.O
06/14/2024, 9:55 PMOliver.O
06/15/2024, 6:28 PMC:
drive which is used to store Gradle caches. I'm now trying with GRADLE_USER_HOME
set to D:\.gradle
on Windows. That seems to have an effect (starts with an empty cache, so setup time is now just 8 seconds), but I still have to convince the mechanism to save and re-populate the caches.
If someone has an idea...Oliver.O
06/15/2024, 9:37 PMGRADLE_USER_HOME
, of course gradle/actions/setup-gradle
does not. Its Typescript code invokes java
to report the system property user.home
when deciding where to put its caches. And java
ignores the HOME
environment variable for user.home
. Otherwise things would have been way too easy. 😵💫Adam S
06/16/2024, 7:17 AM-DsystemProp.user.home=D:/
to the Gradle commands on Windows work?Adam S
06/16/2024, 7:18 AMAdam S
06/16/2024, 7:18 AMAdam S
06/16/2024, 7:20 AMOliver.O
06/16/2024, 9:06 AMAdam S
06/16/2024, 9:28 AMAdam S
06/16/2024, 9:29 AMOliver.O
06/16/2024, 9:30 AMAdam S
06/16/2024, 9:33 AMcontinually
tests, so that's fine, it doesn't conflict with my draft https://github.com/kotest/kotest/pull/4109Adam S
06/16/2024, 9:34 AMeventually
, which I haven't touched yet, so no problems thereAdam S
06/16/2024, 9:35 AMAdam S
06/16/2024, 9:36 AMeventually
tests in this PR https://github.com/kotest/kotest/pull/4105/files#diff-968ee99b2a2d357d516a492d3d3a547cca18bad8a499c7e2651f986e24bfcdccOliver.O
06/16/2024, 9:40 AMAdam S
06/16/2024, 9:40 AMOliver.O
06/16/2024, 1:08 PM