Im currently writing a library for my robotics team, and I want to use gradle as a way to automatically test the code.
I followed the directions on how to setup an action, and once I got gradle to properly work locally, I then wanted to get it to work on github.
Right now, Im getting this error:
/home/runner/work/_temp/deaebf63-2b6d-4c98-b6b6-8c262b8231f8.sh: line 1: ./gradlew: Permission denied ##[error]Process completed with exit code 126.
The link to the yml file is: https://github.com/robototes/2412RobotLibrary/blob/OroArmor-gradletest/.github/workflows/gradle.yml
Solved! Solved! Go to Solution.
You can try to execute the following command before run gradle commands.
chmod +x ./gradlew
You also can reference this earlier reported ticket for the same error: https://github.com/actions/starter-workflows/issues/171