Skip to content

Commit 7adb9a9

Browse files
add: workflow for publishing to maven central
1 parent 4b98c9f commit 7adb9a9

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/publish.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,9 @@ jobs:
4444
passphrase: ${{ secrets.OSS_SIGNING_PASSWORD }}
4545

4646
- name: List the keys
47-
run: gpg --list-keys
47+
run: gpg --list-keys
48+
49+
4850
# Step to grant execute permissions to the Gradle wrapper script
4951
- name: Grant execute permission for gradlew
5052
run: chmod +x gradlew
@@ -62,7 +64,7 @@ jobs:
6264
run: echo "signing.password=${{ secrets.OSS_SIGNING_PASSWORD }}" >> gradle.properties
6365

6466
- name: create secring.gpg file
65-
run: gpg --export-secret-keys FDADDB51 -o secring.gpg
67+
run: gpg --export-secret-keys FDADDB51 -o ~/.gnupg/secring.gpg
6668

6769
- name: print secring.gpg file
6870
run: cat secring.gpg

0 commit comments

Comments
 (0)