Skip to content

Commit

Permalink
ci: Publish to Maven Central
Browse files Browse the repository at this point in the history
  • Loading branch information
iseki0 committed May 27, 2024
1 parent 3c4959f commit c30d69e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,12 @@ jobs:
- name: Run build
run: ./gradlew build --scan

- name: Store GPG key
run: echo "${{ secrets.GPG_PK }}" | base64 --decode | gpg --import

- name: Publish to Maven Central
env:
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
run: ./gradlew publish -Psigning.gnupg.keyName=pub@iseki.space

0 comments on commit c30d69e

Please sign in to comment.