We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 018096d commit 81290c1Copy full SHA for 81290c1
1 file changed
.github/workflows/release.yml
@@ -20,6 +20,11 @@ jobs:
20
steps:
21
- name: Checkout
22
uses: actions/checkout@v2
23
+ - name: Prepare GPG signing
24
+ env:
25
+ GPG_KEY_CONTENTS: ${{ secrets.GPG_KEY_CONTENTS }}
26
+ SIGNING_SECRET_KEY_RING_FILE: ${{ secrets.GPG_SIGNING_SECRET_KEY_RING_FILE }}
27
+ run: sudo bash -c "echo '$GPG_KEY_CONTENTS' | base64 -d > '$SIGNING_SECRET_KEY_RING_FILE'"
28
- name: Setup Maven Central
29
uses: actions/setup-java@v2
30
with:
@@ -28,7 +33,7 @@ jobs:
33
server-id: ossrh
34
server-username: MAVEN_USERNAME
35
server-password: MAVEN_PASSWORD
31
- gpg-private-key: ${{ secrets.GPG_KEY_CONTENTS }}
36
+ gpg-private-key: ${{ secrets.GPG_SIGNING_SECRET_KEY_RING_FILE }}
32
37
gpg-passphrase: GPG_PASSPHRASE
38
- name: Publish release
39
run: bash github-build.sh
0 commit comments