Gradle version in GitHub actions

When running a gradlew build locally we use Gradle 7.4.2
I noticed when running the SonarCloud GitHub workflow, it’s using Gradle 8.7 - is there any way to change the Gradle version used on the GitHub workflow?
Thank you.

Hey there.

This doesn’t really have anything to do with SonarCloud. In any case, you should just specify the gradle version when calling the gradle wrapper.

https://docs.gradle.org/current/userguide/gradle_wrapper.html