DevOps
[GitActions] Error: Gradle script '/home/runner/work/' is not executable.
지구우중
2023. 6. 1. 12:15
깃허브 액션으로 CI하는 중 발생한 오류.
구글링해서 찾아보니 권한문제라고 한다.
파일을 실행할 수 있는 권한이 없다는 것이 문제였다.
해결법은 의의로 간단했다.
git update-index --chmod=+x gradlew
에러가 발생한 프로젝트의 gradlew 파일의 권한 설정을 다시 해주고 그대로 Push
빌드 성공!
Reference
https://spacetech.dk/error-gradle-script-home-runner-work-gradlew-is-not-executable.html