When a workflow Job includes both a setup-gradle and dependency-submission step, all of the Gradle executions after the dependency-submission step will unexpectedly generate (but not submit) dependency graph files. This is because the dependency-submission action sets some persistent environment variables that impact subsequent steps.
A step using dependency-submission action should be self-contained, and not impact subsequent steps.
When a workflow Job includes both a
setup-gradleanddependency-submissionstep, all of the Gradle executions after the dependency-submission step will unexpectedly generate (but not submit) dependency graph files. This is because thedependency-submissionaction sets some persistent environment variables that impact subsequent steps.A step using
dependency-submissionaction should be self-contained, and not impact subsequent steps.