Skip to content

Commit 2d55503

Browse files
authored
fix
1 parent 063dd10 commit 2d55503

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/pipeline.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,14 @@ jobs:
7878
- name: Set up GPG for CI⚙️
7979
run: |
8080
mkdir -p ~/.gnupg
81+
chmod 700 ~/.gnupg
8182
echo "use-agent" >> ~/.gnupg/gpg.conf
8283
echo "pinentry-mode loopback" >> ~/.gnupg/gpg.conf
8384
echo "allow-loopback-pinentry" >> ~/.gnupg/gpg-agent.conf
85+
echo "default-cache-ttl 600" >> ~/.gnupg/gpg-agent.conf
86+
echo "max-cache-ttl 7200" >> ~/.gnupg/gpg-agent.conf
87+
gpgconf --kill gpg-agent
88+
gpgconf --launch gpg-agent
8489
- name: Import GPG key using gpg2 🔐
8590
run: |
8691
echo "${{ secrets.GPG_SECRET_KEY }}" | base64 --decode | gpg2 --batch --yes --import

0 commit comments

Comments
 (0)