Skip to content

Commit 915db8a

Browse files
committed
remove --no-daemon and run gradle --stop before
1 parent 0179ac1 commit 915db8a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,9 @@ jobs:
7878
- name: Build with Gradle
7979
run: ./gradlew clean build
8080

81+
- name: Stop daemon
82+
run: ./gradlew --stop
83+
8184
- name: Echo New Version
8285
run: echo "New version is $NEW_VERSION"
8386
env:
@@ -90,4 +93,4 @@ jobs:
9093
ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.SIGNING_PASSWORD }}
9194
ORG_GRADLE_PROJECT_sonatypeUsername: ${{ secrets.SONATYPE_USERNAME }}
9295
ORG_GRADLE_PROJECT_sonatypePassword: ${{ secrets.SONATYPE_PASSWORD }}
93-
run: ./gradlew --no-daemon publishToSonatype closeAndReleaseSonatypeStagingRepository
96+
run: ./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository

0 commit comments

Comments
 (0)