Skip to content

Commit

Permalink
check if gpg is installed and what is the version used
Browse files Browse the repository at this point in the history
  • Loading branch information
Vignesh Kennadi committed Sep 10, 2024
1 parent c258b16 commit d1968b8
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/build-lint-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,13 @@ jobs:

- name: Import GPG Key
run: |
if command -v gpg > /dev/null 2>&1; then
echo "GPG is installed."
gpg --version
else
echo "GPG is not installed."
exit 1
fi
mkdir -p ~/.gnupg
chmod 700 ~/.gnupg
echo "pinentry-mode loopback" > ~/.gnupg/gpg.conf
Expand Down

0 comments on commit d1968b8

Please sign in to comment.