Skip to content

Commit 3f6d39f

Browse files
committed
Disable gradle daemon in workflows
1 parent 182c49b commit 3f6d39f

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

.github/workflows/gradle-build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,6 @@ jobs:
3333
uses: gradle/actions/setup-gradle@v5
3434

3535
- name: Gradle Build
36+
env:
37+
GRADLE_OPTS: "-Dorg.gradle.daemon=false -Dorg.gradle.parallel=false"
3638
run: ./gradlew build

.github/workflows/gradle-publish-release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ jobs:
3333
SIGNING_PASSWORD: ${{ secrets.SIGNING_PASSWORD }}
3434
PUBLISHING_USERNAME: ${{ secrets.PUBLISHING_USERNAME }}
3535
PUBLISHING_PASSWORD: ${{ secrets.PUBLISHING_PASSWORD }}
36+
GRADLE_OPTS: "-Dorg.gradle.daemon=false -Dorg.gradle.parallel=false"
3637
run: |
3738
VERSION="${GITHUB_REF_NAME#v}" # removes leading 'v' from tag name
3839
echo "::notice::publishing version $VERSION"

.github/workflows/gradle-publish-snapshot.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,5 +88,6 @@ jobs:
8888
SIGNING_PASSWORD: ${{ secrets.SIGNING_PASSWORD }}
8989
PUBLISHING_USERNAME: ${{ secrets.PUBLISHING_USERNAME }}
9090
PUBLISHING_PASSWORD: ${{ secrets.PUBLISHING_PASSWORD }}
91+
GRADLE_OPTS: "-Dorg.gradle.daemon=false -Dorg.gradle.parallel=false"
9192
run: |
9293
./gradlew -Pversion="${{ steps.version.outputs.version }}" publishAllPublicationsToCentralPortalSnapshots

0 commit comments

Comments
 (0)