Closed matej-staron closed 8 months ago
The Gradle Wrapper works by having a gradlew
file committed to your repository. It won't be created by the gradle-build-action
and doesn't exist on the runner.
Your options are:
gradle-build-action
to install the required version.For the latter, your workflow will look something like this:
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
with:
gradle-version: 8.5
- name: Check gradle version
run: gradle --version
Hello, I am not able to run any of the workflow examples using
./gradlew
. It seems that the wrapper script is not created anywhere on the runner. Any idea what might be causing this?Example workflow:
The last step simply fails with the following:
Any help is appreciated!