Skip to content

Commit

Permalink
Configure GPG Keys using GPG_KEY_ID
Browse files Browse the repository at this point in the history
  • Loading branch information
jared-daniels committed Nov 20, 2024
1 parent ebbbbdf commit 52037db
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/beta-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,12 +116,9 @@ jobs:
- name: Configure GPG
run: |
echo "$GPG_PUBLIC_KEY"
echo "$GPG_PRIVATE_KEY" | base64 --decode | gpg --batch --yes --import
echo "$GPG_PUBLIC_KEY" | base64 --decode | gpg --batch --yes --import
env:
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
GPG_PUBLIC_KEY: ${{ secrets.GPG_PUBLIC_KEY }}
echo "${{ secrets.GPG_PRIVATE_KEY }}" | gpg --batch --yes --import
echo "${{ secrets.GPG_PUBLIC_KEY }}" | gpg --batch --yes --import
echo "${{ secrets.GPG_PASSPHRASE }}" | gpg --batch --yes --pinentry-mode loopback --passphrase-fd 0 --edit-key ${{ secrets.GPG_KEY_ID }} trust quit
- name: Publish to Maven Central Beta
run: |
Expand Down

0 comments on commit 52037db

Please sign in to comment.