Skip to content

Commit 73573f0

Browse files
committed
Add --no-daemon flag to Gradle tasks in build workflow for better CI stability
1 parent 3bb4c72 commit 73573f0

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,20 +36,20 @@ jobs:
3636

3737
- name: Build with Gradle
3838
run: |-
39-
./gradlew clean ktlintCheck build koverLog koverHtmlReport
40-
./gradlew :kotlin-sdk-core:publishToMavenLocal :kotlin-sdk-client:publishToMavenLocal :kotlin-sdk-server:publishToMavenLocal
39+
./gradlew --no-daemon clean ktlintCheck build koverLog koverHtmlReport
40+
./gradlew --no-daemon :kotlin-sdk-core:publishToMavenLocal :kotlin-sdk-client:publishToMavenLocal :kotlin-sdk-server:publishToMavenLocal
4141
4242
- name: Build Kotlin-MCP-Client Sample
4343
working-directory: ./samples/kotlin-mcp-client
44-
run: ./../../gradlew clean build
44+
run: ./../../gradlew --no-daemon clean build
4545

4646
- name: Build Kotlin-MCP-Server Sample
4747
working-directory: ./samples/kotlin-mcp-server
48-
run: ./../../gradlew clean build
48+
run: ./../../gradlew --no-daemon clean build
4949

5050
- name: Build Weather-Stdio-Server Sample
5151
working-directory: ./samples/weather-stdio-server
52-
run: ./../../gradlew clean build
52+
run: ./../../gradlew --no-daemon clean build
5353

5454
- name: Upload Reports
5555
if: ${{ !cancelled() }}

0 commit comments

Comments
 (0)