gradle / gradle-build-action

Execute your Gradle build and trigger dependency submission
https://github.com/marketplace/actions/gradle-build-action
MIT License
671 stars 97 forks source link

Fail build step if Gradle version does not support dependency graph generation #1034

Closed bigdaz closed 8 months ago

bigdaz commented 8 months ago

If the primary purpose of a workflow is to generate and submit a dependency graph, then the workflow should fail if this isn't achieved. Presently, the behaviour is to warn and continue.

We could add an option like dependency-graph-continue-on-failure that defaults to true (for now), but can be switched to false so that Gradle version and permission issues cause the workflow to fail, rather than simply warning.