Skip to content

Commit 69e4f8f

Browse files
committed
Fix release.yml
1 parent b3faa7c commit 69e4f8f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ jobs:
3535
mkdir -p ~/.gnupg/
3636
chmod 0700 ~/.gnupg/
3737
echo "$GPG_SIGNING_KEY" > ~/.gnupg/private.key
38-
gpg --import ~/.gnupg/private.key
39-
gpg -u [email protected] --pinentry-mode loopback --passphrase "${GPG_PASSPHRASE}" --detach-sign --output deployer.phar.asc deployer.phar
38+
gpg --import --no-tty --batch --yes ~/.gnupg/private.key
39+
gpg -u [email protected] --command-fd 0 --passphrase-fd 0 --batch --pinentry-mode loopback --passphrase "${GPG_PASSPHRASE}" --detach-sign --output deployer.phar.asc deployer.phar
4040
env:
4141
GPG_SIGNING_KEY: |
4242
${{ secrets.GPG_SIGNING_KEY }}

0 commit comments

Comments
 (0)