1
0
mirror of https://github.com/octoleo/plantuml.git synced 2024-11-05 21:17:52 +00:00

no gradle daemon so windows 2019 can use the cache.

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
This commit is contained in:
soloturn 2022-02-11 10:00:05 +01:00
parent 7d256adde6
commit 12fce2cfd6

View File

@ -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
@ -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}"