question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to locate executable file: /home/runner/work/.../gradlew

See original GitHub issue

My 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:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

5reactions
devkanrocommented, Mar 15, 2021

Just run

git update-index --chmod=+x ./gradlew

and commit and push

4reactions
alsuttoncommented, Feb 23, 2021
Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found