Skip to content

Commit 61aa6ee

Browse files
committed
orssh gpg
1 parent d6194dc commit 61aa6ee

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/publishgh.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ jobs:
1010
packages: write
1111
steps:
1212
- uses: actions/checkout@v3
13+
- id: install-secret-key
14+
name: Install gpg secret key
15+
run: |
16+
cat <(echo -e "${{ secrets.OSSRH_GPG_SECRET_KEY }}") | gpg --batch --import
17+
gpg --list-secret-keys --keyid-format LONG
1318
- name: Set up Java
1419
uses: actions/setup-java@v3
1520
with:
@@ -20,4 +25,4 @@ jobs:
2025
- name: Publish to the Maven Central Repository
2126
run: gradle publish
2227
env:
23-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
28+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)