Skip to content

Commit 70f2398

Browse files
committed
Fix Gradle
1 parent 13e313f commit 70f2398

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release_to_maven.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
echo -n "signing.keyId=ABC48776" >> gradle.properties
2222
echo -n "signing.password=${GPG_SIGNING_KEY_PW}" >> gradle.properties
2323
echo -n "signing.secretKeyRingFile=../maven.keystore" >> gradle.properties
24-
gpg --keyring secring.gpg --export-secret-keys --passphrase "$GPG_SIGNING_KEY_PW" > maven.keystore
24+
echo "$GPG_SIGNING_KEY_PW" | gpg --batch --keyring secring.gpg --export-secret-keys --passphrase-fd 0 > maven.keystore
2525
env:
2626
GPG_SIGNING_KEY_B64: ${{ secrets.GPG_PRIVATE_KEY_B64 }}
2727
GPG_SIGNING_KEY_PW: ${{ secrets.GPG_PASSPHRASE }}

0 commit comments

Comments
 (0)