Skip to content

Commit 0fdadbd

Browse files
add: workflow for publishing to maven central
1 parent 9fd68fd commit 0fdadbd

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/publish.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ jobs:
3131
- name: Setup Gradle
3232
uses: gradle/actions/setup-gradle@417ae3ccd767c252f5661f1ace9f835f9654f2b5 # v3.1.0
3333

34+
- name: Set up GPG
35+
uses: olafurpg/setup-gpg@v3
36+
3437
# Step to grant execute permissions to the Gradle wrapper script
3538
- name: Grant execute permission for gradlew
3639
run: chmod +x gradlew
@@ -47,6 +50,9 @@ jobs:
4750
- name: Add signing password to gradle.proeprties
4851
run: echo "signing.password=${{ secrets.OSS_SIGNING_PASSWORD }}" >> gradle.properties
4952

53+
- name: create secring.gpg file
54+
run: gpg --export-secret-keys -o secring.gpg
55+
5056
- name: Decode and set up GPG secring file
5157
env:
5258
GPG_SECRET_RING: ${{ secrets.SECRET_FILE_CONTENT }}

0 commit comments

Comments
 (0)