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

Enable debug logging for the validation scripts when GitHub Actions debug logging is enabled #610

Closed tylerbertrand closed 4 months ago

tylerbertrand commented 5 months ago

Currently the GitHub actions for executing the experiments does not include a way to enable debug logging for the validation scripts. This is problematic if there is an issue that only reproduces in CI. This PR updates the experiment actions to read the default environment variable RUNNER_DEBUG to toggle debug logging for the validation scripts. If jobs are re-run with the "Enable debug logging" box checked, the RUNNER_DEBUG environment variable is set, and debug logging will be enabled for the validation scripts.