Warn and make Gradle Wrapper script executable

Instead of failing the build, detect a non-executable wrapper file
and set the executable bit.

Fixes #17
This commit is contained in:
daz
2024-02-08 21:58:12 -07:00
parent dfd22334ff
commit 2f23d645f2
10 changed files with 386 additions and 3 deletions

View File

@@ -46,6 +46,12 @@ jobs:
gradle-version: release-candidate
build-root-directory: .github/workflow-samples/no-wrapper
arguments: help
- name: Test with non-executable wrapper
uses: ./setup-gradle
with:
gradle-version: wrapper
build-root-directory: .github/workflow-samples/non-executable-wrapper
arguments: help
gradle-versions:
strategy: