We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8eb904e commit ece7745Copy full SHA for ece7745
.github/workflows/build-lint-test.yml
@@ -23,11 +23,14 @@ jobs:
23
24
- name: Configure GPG
25
run: |
26
- mkdir -p ~/.gnupg
27
- chmod 700 ~/.gnupg
28
- echo "use-agent" > ~/.gnupg/gpg.conf
29
- echo "pinentry-mode loopback" >> ~/.gnupg/gpg.conf
30
-
+ if [ ! -d "~/.gnupg" ]; then
+ mkdir -p ~/.gnupg
+ chmod 700 ~/.gnupg
+ echo "use-agent" > ~/.gnupg/gpg.conf
+ echo "pinentry-mode loopback" >> ~/.gnupg/gpg.conf
31
+ else
32
+ echo "~/.gnupg directory already exists."
33
+ fi
34
- name: Import GPG Key
35
36
echo "${{ secrets.GPG_PRIVATE_KEY }}" | gpg --batch --import
0 commit comments