Skip to content

Commit 03b319d

Browse files
committed
Avoid using daemon in Gradle builds
It's slower on CI since it's a one-off build
1 parent 31f6639 commit 03b319d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/build_and_test.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ jobs:
3030
- name: Build ktfmt_idea_plugin
3131
run: |
3232
pushd ktfmt_idea_plugin
33-
./gradlew build
33+
./gradlew build --no-daemon
3434
popd
3535
- name: Build the Online Formatter
3636
run: |
3737
pushd online_formatter
38-
./gradlew build
38+
./gradlew build --no-daemon
3939
popd

.github/workflows/publish_artifacts_on_release.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
- name: Publish IntelliJ plugin to JetBrains Marketplace
5151
run: |
5252
pushd ktfmt_idea_plugin
53-
./gradlew publishPlugin --stacktrace
53+
./gradlew publishPlugin --stacktrace --no-daemon
5454
popd
5555
env:
5656
JETBRAINS_MARKETPLACE_TOKEN: ${{ secrets.JETBRAINS_MARKETPLACE_TOKEN }}

0 commit comments

Comments
 (0)