We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4ad7e1 commit 9f65385Copy full SHA for 9f65385
.github/workflows/maven-publish.yml
@@ -30,7 +30,8 @@ jobs:
30
- name: Decode GPG Key
31
run: |
32
mkdir -p ~/.gradle/
33
- echo "${{secrets.GPG_PRIVATE_KEY}}" > ~/.gradle/secring.gpg
+ echo "${{secrets.GPG_PRIVATE_KEY}}" > ~/.gradle/secring.gpg.b64
34
+ base64 -d ~/.gradle/secring.gpg.b64 > ~/.gradle/secring.gpg
35
- name: Publish package
36
# wraped the signing.password with single quotes as the password could contain special characters
37
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