Skip to content

Commit e29e36f

Browse files
author
Jonathan Wenger
committed
Add passphrase to gpgp
1 parent dc0ee13 commit e29e36f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/Deploy.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,13 @@ jobs:
2727
server-id: ossrh
2828
server-username: MAVEN_USERNAME
2929
server-password: MAVEN_PASSWORD
30+
gpg-passphrase: MAVEN_GPG_PASSPHRASE
3031

3132
- name: Set project version
3233
run: mvn versions:set -DnewVersion=${{ env.VERSION }}
3334

3435
- name: Install GPG secret key
35-
run: echo "${{ secrets.OSSRH_GPG_SECRET_KEY }}" | gpg --batch --passphrase "${{ secrets.OSSRH_GPG_PASSPHRASE }}" --import
36+
run: echo "${{ secrets.OSSRH_GPG_SECRET_KEY }}" | gpg --batch --import
3637

3738
- name: Check Imported GPG Keys
3839
run: gpg --list-secret-keys --keyid-format LONG

0 commit comments

Comments
 (0)