job构建失败

脚本报错Permission denied

  • 异常现象
    /home/runner/work/_temp/af2ab336-32d9-4da8-b00f-7b148f8dd41b.sh: line 1: ./gradlew: Permission denied
    Error: Process completed with exit code 126.

  • 解决方法
    windows系统脚本权限缺失:
    git update-index --chmod=+x gradlew
    git push