mirror of
https://github.com/LamGC/ScalaBot.git
synced 2025-04-30 06:37:29 +00:00
build(action): 修复 gradlew 无权限的问题.
由于 gradlew 并未自动获得执行权限, 所以 Action 执行 gradlew 时会失败, 已在执行前设置执行权限, 希望管用.
This commit is contained in:
parent
fce4fbd1d4
commit
19362476ef
2
.github/workflows/build-and-test.yml
vendored
2
.github/workflows/build-and-test.yml
vendored
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user