From d4863a8899b2d5830ed88b83d3c6d7fe47517ac0 Mon Sep 17 00:00:00 2001 From: Jack Date: Wed, 3 Apr 2024 15:20:34 +0800 Subject: [PATCH] Fix release error --- .github/workflows/ci-cd.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index 53fbc28f8..8cb3c5773 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -166,16 +166,16 @@ jobs: ] - name: Configure GPG Key run: | - sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys ${{ secrets.GPG_PUB_KEY }} - sudo gpg --export ${{ secrets.GPG_PUB_KEY }} | sudo apt-key add - - - git config --global user.signingkey ${{ secrets.GPG_PUB_KEY }} +# sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys ${{ secrets.GPG_PUB_KEY }} +# sudo gpg --export ${{ secrets.GPG_PUB_KEY }} | sudo apt-key add - +# +# git config --global user.signingkey ${{ secrets.GPG_PUB_KEY }} -# mkdir -p ~/.gnupg/ -# printf "$GPG_SIGNING_KEY" | base64 --decode > ~/.gnupg/private.key -# gpg --import ~/.gnupg/private.key + mkdir -p ~/.gnupg/ + printf "$GPG_SIGNING_KEY" | base64 --decode > ~/.gnupg/private.key + gpg --import ~/.gnupg/private.key env: - GPG_SECRET_KEY: ${{ secrets.GPG_SECRET_KEY }} + GPG_SIGNING_KEY: ${{ secrets.GPG_SIGNING_KEY }} - name: Bump version run: | git pull