Skip to content

Commit

Permalink
fix: gpg import
Browse files Browse the repository at this point in the history
  • Loading branch information
kvendingoldo committed Jun 5, 2024
1 parent 41ec039 commit 5e2de9a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@ jobs:
run: |
GPG_KEY_FILE=/tmp/signing-key.gpg
echo "${{ secrets.GPG_PRIVATE_KEY }}" | base64 --decode > "${GPG_KEY_FILE}"
echo "${{ secrets.GPG_PRIVATE_KEY }}" | base64 --decode | gpg --import
echo "${{ secrets.GPG_PRIVATE_KEY }}" | base64 --decode | gpg --batch --passphrase "${{ secrets.GPG_PASSPHRASE }}" --import
GPG_FINGERPRINT=$(gpg --list-secret-keys --keyid-format LONG | awk '/^sec/{sub(/.*\//, "", $2); print $2; exit}')
echo "GPG_FINGERPRINT=${GPG_FINGERPRINT}" >>"${GITHUB_ENV}"
Expand Down

0 comments on commit 5e2de9a

Please sign in to comment.