Showing results for 
Search instead for 
Did you mean: 
Copilot Lvl 2
Message 1 of 3

Gradlew commands not working

Solved! Go to Solution.

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/ line 1: ./gradlew: Permission denied
##[error]Process completed with exit code 126.

The link to the yml file is: 

2 Replies
GitHub Partner
Message 2 of 3

Re: Gradlew commands not working

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:

Copilot Lvl 2
Message 3 of 3

Re: Gradlew commands not working

Thank you! It worked perfectly!