build(action): 修复 gradlew 无权限的问题.

由于 gradlew 并未自动获得执行权限, 所以 Action 执行 gradlew 时会失败, 已在执行前设置执行权限, 希望管用.
This commit is contained in:
LamGC 2022-06-22 01:53:16 +08:00 committed by GitHub
parent fce4fbd1d4
commit 19362476ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,6 +25,8 @@ jobs:
java-version: '11'
distribution: 'adopt-hotspot'
cache: 'gradle'
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build and test
uses: gradle/gradle-build-action@67421db6bd0bf253fb4bd25b31ebb98943c375e1
with: