Skip to content

Commit

Permalink
[build] publish artifacts to Maven Central on release
Browse files Browse the repository at this point in the history
  • Loading branch information
aalmiray committed Jan 5, 2022
1 parent 65008fe commit 27ca07a
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,17 @@ jobs:
java-version: 11
distribution: 'zulu'

- name: Deploy
env:
GPG_KEY_ID: ${{ secrets.GPG_KEY_ID }}
GPG_SECRET_KEY: ${{ secrets.GPG_SECRET_KEY }}
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
run: |
./gradlew -Prelease=true -Pfull-release=true \
-PsonatypeUsername=${{ secrets.SONATYPE_USERNAME }} \
-PsonatypePassword=${{ secrets.SONATYPE_PASSWORD }} \
build publishToSonatype -S
- name: Release
uses: jreleaser/release-action@v1
with:
Expand Down

0 comments on commit 27ca07a

Please sign in to comment.