Skip to content

Commit

Permalink
ci: use --no-daemon
Browse files Browse the repository at this point in the history
Signed-off-by: Mariell Hoversholm <[email protected]>
  • Loading branch information
Mariell Hoversholm committed Dec 3, 2021
1 parent 89868ca commit 36d6a50
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy-sonatype.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ jobs:
java-version: '17'
distribution: temurin
- name: Deploy to OSSRH
run: ./gradlew publish
run: ./gradlew publish --no-daemon
env:
ORG_GRADLE_PROJECT_sonatypeUsername: ${{ secrets.SONATYPE_USERNAME }}
ORG_GRADLE_PROJECT_sonatypePassword: ${{ secrets.SONATYPE_PASSWORD }}
- name: Deploy to Central
if: ${{ github.ref_type == 'tag' }}
run: ./gradlew closeAndReleaseSonatypeStagingRepository
run: ./gradlew closeAndReleaseSonatypeStagingRepository --no-daemon
env:
ORG_GRADLE_PROJECT_sonatypeUsername: ${{ secrets.SONATYPE_USERNAME }}
ORG_GRADLE_PROJECT_sonatypePassword: ${{ secrets.SONATYPE_PASSWORD }}

0 comments on commit 36d6a50

Please sign in to comment.