Skip to content

Commit

Permalink
Mark deployment builds for Gradle, and automatically release
Browse files Browse the repository at this point in the history
  • Loading branch information
DenWav committed May 7, 2022
1 parent dae74a4 commit 064516a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,9 @@ jobs:

- uses: gradle/wrapper-validation-action@v1
- name: Deploy to Maven Central
run: ./gradlew publishToSonatype closeSonatypeStagingRepository --no-daemon --stacktrace
run: ./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository --no-daemon --stacktrace
env:
RELEASE_BUILD: true
GPG_SIGNING_KEY: ${{ secrets.GPG_SIGNING_KEY }}
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
ORG_GRADLE_PROJECT_sonatypeUsername: ${{ secrets.SONATYPE_USERNAME }}
Expand Down

0 comments on commit 064516a

Please sign in to comment.