From 73d2f1bd006bbace99c085dd02fccd73a6c4b424 Mon Sep 17 00:00:00 2001 From: Jack Date: Wed, 3 Apr 2024 19:25:24 +0800 Subject: [PATCH] Fix release error --- .github/workflows/ci-cd.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index 7f39ce27d..8f0593328 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -148,6 +148,10 @@ jobs: gpg-passphrase: ${{ secrets.GPG_PASSPHRASE }} server-username: ${{ secrets.MAVEN_CENTRAL_USERNAME }} server-password: ${{ secrets.MAVEN_CENTRAL_TOKEN }} + - name: Prepare GPG + run: | + echo "allow-loopback-pinentry" >> ~/.gnupg/gpg-agent.conf + gpgconf --reload gpg-agent - name: Configure settings.xml for Maven Central release uses: whelk-io/maven-settings-xml-action@v20 with: