Skip to content

Commit

Permalink
no gradle daemon so windows 2019 can use the cache.
Browse files Browse the repository at this point in the history
in case somebody wonders about the confusing message that a daemon
is started, an explanation here:
https://discuss.gradle.org/t/no-daemon-switch-ineffective-if-jvm-settings-cause-new-fork/14919/7
  • Loading branch information
soloturn committed Feb 11, 2022
1 parent 7d256ad commit 12fce2c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci-gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,10 @@ jobs:

# Compile / Test / Package are separate steps so the reason for any failure is more obvious in GitHub UI
- name: Compile
run: gradle -q compileJava
run: gradle -q compileJava --no-daemon

- name: Test
run: gradle -q test
run: gradle -q test --no-daemon

# The repeated "matrix.release_from_this_build" checks are messy, but I have not found a simple way to avoid them
# See https://github.com/actions/runner/issues/662
Expand All @@ -121,6 +121,7 @@ jobs:
GPG_PASSPHRASE: ${{ secrets.ARTIFACT_SIGNING_PASSPHRASE }}
run: |
gradle sign "-Pversion=${POM_VERSION}"\
"--no-daemon" \
"-Psigning.gnupg.keyName=${GPG_KEYNAME}" \
"-Psigning.gnupg.passphrase=${GPG_PASSPHRASE}"
Expand Down

0 comments on commit 12fce2c

Please sign in to comment.