Skip to content

Commit d4ad7e1

Browse files
committed
No Base64 encoding I guess
1 parent 2150337 commit d4ad7e1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/maven-publish.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,7 @@ jobs:
3030
- name: Decode GPG Key
3131
run: |
3232
mkdir -p ~/.gradle/
33-
echo "${{secrets.GPG_PRIVATE_KEY}}" > ~/.gradle/secring.gpg.b64
34-
base64 -d ~/.gradle/secring.gpg.b64 > ~/.gradle/secring.gpg
33+
echo "${{secrets.GPG_PRIVATE_KEY}}" > ~/.gradle/secring.gpg
3534
- name: Publish package
3635
# wraped the signing.password with single quotes as the password could contain special characters
3736
run: ./gradlew publish -Psigning.keyId=${{secrets.GPG_PRIVATE_KEY_ID}} -Psigning.password='${{secrets.GPG_PASSPHRASE}}' -Psigning.secretKeyRingFile=$(echo ~/.gradle/secring.gpg) --warn --stacktrace

0 commit comments

Comments
 (0)