gradle / gradle-enterprise-build-validation-scripts

Executable scripts to assist in validating that your Gradle and Maven builds are in an optimal state in terms of maximizing work avoidance when using Develocity.
https://gradle.com/develocity
Apache License 2.0
90 stars 23 forks source link

Add projectDir argument to the configuration cache experiment github action #605

Open ribafish opened 5 months ago

ribafish commented 5 months ago

Currently the experiment-config-cache expects to run the ./gradlew command in the root of the workflow. This means that any repository that has gradlew executable in a subdirectory can't use this github action.

I propose we add an optional projectDir argument, that would allow users to select the directory to run the configuration cache experiment from, same as we have for other experiments done via scripts - example: exp3.