Skip to content

Commit

Permalink
Avoid using daemon in Gradle builds
Browse files Browse the repository at this point in the history
It's slower on CI since it's a one-off build
  • Loading branch information
rock3r committed Aug 8, 2024
1 parent 1421e95 commit 5a7bad8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ jobs:
- name: Build ktfmt_idea_plugin
run: |
pushd ktfmt_idea_plugin
./gradlew build
./gradlew build --no-daemon
popd
- name: Build the Online Formatter
run: |
pushd online_formatter
./gradlew build
./gradlew build --no-daemon
popd
2 changes: 1 addition & 1 deletion .github/workflows/publish_artifacts_on_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
- name: Publish IntelliJ plugin to JetBrains Marketplace
run: |
pushd ktfmt_idea_plugin
./gradlew publishPlugin --stacktrace
./gradlew publishPlugin --stacktrace --no-daemon
popd
env:
JETBRAINS_MARKETPLACE_TOKEN: ${{ secrets.JETBRAINS_MARKETPLACE_TOKEN }}
Expand Down

0 comments on commit 5a7bad8

Please sign in to comment.