Skip to content

Commit

Permalink
fix(build): upgrade gpg import
Browse files Browse the repository at this point in the history
  • Loading branch information
sauljabin committed Jan 10, 2025
1 parent 6b04786 commit 854a7c8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,14 @@ jobs:
run: sed -i "s/version=.*/version=${TAG}/g" gradle.properties

- name: Import GPG key
uses: crazy-max/ghaction-import-gpg@v5
uses: crazy-max/ghaction-import-gpg@v6
with:
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.GPG_PASSPHRASE }}

- name: List keys
run: gpg -K

- name: Generate KeyRing
run: gpg --keyring secring.gpg --export-secret-keys --passphrase ${{ secrets.GPG_PASSPHRASE }} --batch --yes --pinentry-mode=loopback > ~/.gnupg/secring.gpg

Expand Down

0 comments on commit 854a7c8

Please sign in to comment.