Unable to locate executable file: /home/runner/work/.../gradlew
See original GitHub issueMy configuration has stopped working suddenly ( since december 2020 ). With this error message :
Unable to locate executable file: /home/runner/work/wecolearn/wecolearn/front/android/gradlew. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.
This is my config :
- uses: actions/setup-java@v1
with:
java-version: 11
- name: Install capacitor plugins
run : cd front && ./node_modules/@ionic/cli/bin/ionic capacitor update
- uses: eskatos/gradle-command-action@v1.3.0
with:
arguments: :app:bundleRelease
gradle-executable: front/android/gradlew
build-root-directory: front/android
wrapper-directory: front/android/gradle/wrapper
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Script failed with error: Error: Unable to locate executable file ...
Getting this error when using an Azure CLI Release Pipleline Task. Environment. Server - Azure Pipelines (Release Pipeline).
Read more >Unable to locate executable file: 'bash' error for a simple script ...
I get the following error if I run my azure devops pipeline: ##[error]Unable to locate executable file: 'bash'. Please verify either the file...
Read more >Azure devops could not locate bash executable
I am frequently getting this issue today. [error]Unable to locate executable file: 'bash'. Please verify either the file path exists or the file...
Read more >Error Gradle script '/home/runner/work/*/gradlew' is not ...
Here's the ci yaml file which is close to the template given. ... Error Gradle script /home/runner/work/*/gradlew is not executable.
Read more >IL2CPP fails building Android on Linux - Unity Forum
/home/runner/work/myProject/android/myProject/unity/unityLibrary/src/main/Il2CppOutputProject/IL2CPP/build/deploy/il2cpp: 3: Syntax error: ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Just run
and commit and push
I ended up replacing this with some simpler code based on GitHubs example; https://github.com/alsutton/java-cryptography-wrapper/blob/c8ffaadb7c2686472cb824b5116dad8676e067a8/.github/workflows/gradle-build-pr.yml