From 2be774ac83214440d3f39dd118724b4beebe315b Mon Sep 17 00:00:00 2001 From: Jack Date: Wed, 3 Apr 2024 17:59:57 +0800 Subject: [PATCH] Fix release error --- .github/workflows/ci-cd.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index 98c334b01..3cac39106 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -172,13 +172,13 @@ jobs: mkdir -p ~/.gnupg/ - touch ~/.gnupg/gpg.conf - echo "use-agent" >> ~/.gnupg/gpg.conf - echo "pinentry-mode loopback" >> ~/.gnupg/gpg.conf - - touch ~/.gnupg/gpg-agent.conf - echo "allow-loopback-pinentry" >> ~/.gnupg/gpg-agent.conf - echo RELOADAGENT | gpg-connect-agent +# touch ~/.gnupg/gpg.conf +# echo "use-agent" >> ~/.gnupg/gpg.conf +# echo "pinentry-mode loopback" >> ~/.gnupg/gpg.conf +# +# touch ~/.gnupg/gpg-agent.conf +# echo "allow-loopback-pinentry" >> ~/.gnupg/gpg-agent.conf +# echo RELOADAGENT | gpg-connect-agent printf "${{ secrets.GPG_SIGNING_KEY }}" | base64 --decode > ~/.gnupg/private.key gpg --no-tty --import ~/.gnupg/private.key