Skip to content

Commit 42d83f6

Browse files
author
jianggang
authored
Update maven-publish.yml
1 parent 8bcba4b commit 42d83f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/maven-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- id: install-secret-key
2121
name: Install gpg secret key
2222
run: |
23-
gpg -v --import <(echo "${{ secrets.OSSRH_GPG_SECRET_KEY }}")
23+
cat <(echo -e "${{ secrets.OSSRH_GPG_SECRET_KEY }}") | gpg --batch --import
2424
gpg --list-secret-keys --keyid-format LONG
2525
- name: Publish package
2626
env:

0 commit comments

Comments
 (0)