mirror of
http://gitea.winboll.cc/Studio/WinBoLL.git
synced 2026-06-29 20:12:23 +08:00
Update gradle.yml
This commit is contained in:
5
.github/workflows/gradle.yml
vendored
5
.github/workflows/gradle.yml
vendored
@@ -33,8 +33,9 @@ jobs:
|
||||
- name: Setup Gradle
|
||||
uses: gradle/actions/setup-gradle@af1da67850ed9a4cedd57bfd976089dd991e2582 # v4.0.0
|
||||
|
||||
# CI环境禁用Gradle Daemon,避免进程异常锁定
|
||||
- name: Build with Gradle Wrapper
|
||||
run: ./gradlew build
|
||||
run: ./gradlew build --no-daemon
|
||||
|
||||
# NOTE: The Gradle Wrapper is the default and recommended way to run Gradle (https://docs.gradle.org/current/userguide/gradle_wrapper.html).
|
||||
# If your project does not have the Gradle Wrapper configured, you can use the following configuration to run Gradle with a specified version.
|
||||
@@ -51,7 +52,7 @@ jobs:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: write
|
||||
contents: read
|
||||
dependency-graph: write
|
||||
|
||||
steps:
|
||||
|
||||
Reference in New Issue
Block a user