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 cb51049 commit 9091e90Copy full SHA for 9091e90
.github/workflows/publish.yml
@@ -47,11 +47,14 @@ jobs:
47
- name: Add signing password to gradle.proeprties
48
run: echo "signing.password=${{ secrets.OSS_SIGNING_PASSWORD }}" >> gradle.properties
49
50
- - name: Copy secret file content to a new file
51
- run: printf "${{ secrets.SECRET_FILE_CONTENT }}" >> secring.gpg
+ - name: Decode and set up GPG secring file
+ env:
52
+ GPG_SECRET_RING: ${{ secrets.SECRET_FILE_CONTENT }}
53
+ run: |
54
+ echo "$GPG_SECRET_RING" | base64 --decode > ~/.gnupg/secring.gpg
55
56
- name: Add secret file loc to gradle.properties
- run: echo "signing.secretKeyRingFile=secring.gpg"
57
+ run: echo "signing.secretKeyRingFile=~/.gnupg/secring.gpg"
58
59
60
- name: Echo gradle.properties
0 commit comments