Skip to content

Commit 510f13f

Browse files
authored
fix
1 parent 14c0653 commit 510f13f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/pipeline.yml

+5
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,11 @@ jobs:
7575
server-id: maven
7676
server-username: ${{ secrets.SONATYPE_USERNAME }}
7777
server-password: ${{ secrets.SONATYPE_PASSWORD }}
78+
- name: Set up GPG for CI
79+
run: |
80+
echo "use-agent" >> ~/.gnupg/gpg.conf
81+
echo "pinentry-mode loopback" >> ~/.gnupg/gpg.conf
82+
echo "allow-loopback-pinentry" >> ~/.gnupg/gpg-agent.conf
7883
- name: Import GPG key using gpg2 🔐
7984
run: |
8085
echo "${{ secrets.GPG_SECRET_KEY }}" | base64 --decode | gpg2 --batch --yes --import

0 commit comments

Comments
 (0)