From d49b297efca1a0010f8401e195e09717917acfff Mon Sep 17 00:00:00 2001 From: nk_ysg Date: Sun, 24 Dec 2023 11:14:16 +0800 Subject: [PATCH] export tty --- .github/workflows/maven_deploy.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/maven_deploy.yml b/.github/workflows/maven_deploy.yml index 9c356c5..8615ba7 100644 --- a/.github/workflows/maven_deploy.yml +++ b/.github/workflows/maven_deploy.yml @@ -27,6 +27,7 @@ jobs: - name: Install gpg secret key run: | + export GPG_TTY=$(tty) cat <(echo -e "${{ secrets.OSSRH_GPG_SECRET_KEY }}") | gpg --import gpg --list-secret-keys --keyid-format LONG