Skip to content

Commit c30d69e

Browse files
committed
ci: Publish to Maven Central
1 parent 3c4959f commit c30d69e

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/build.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,12 @@ jobs:
3232
- name: Run build
3333
run: ./gradlew build --scan
3434

35+
- name: Store GPG key
36+
run: echo "${{ secrets.GPG_PK }}" | base64 --decode | gpg --import
37+
38+
- name: Publish to Maven Central
39+
env:
40+
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
41+
OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
42+
run: ./gradlew publish [email protected]
43+

0 commit comments

Comments
 (0)