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 16737fb commit 178814bCopy full SHA for 178814b
.github/workflows/publish.yml
@@ -23,6 +23,13 @@ jobs:
23
with:
24
servers: '[{"id": "ossrh", "username": "${{secrets.OSSRH_USERNAME}}", "password": "${{secrets.OSSRH_PASSWORD}}"}]'
25
26
+ - name: Set up GPG
27
+ run: |
28
+ export GPG_TTY=$(tty)
29
+ echo -n "${GPG_PRIVATE_KEY}" | base64 --decode | gpg --batch --import
30
+ env:
31
+ GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
32
+
33
- name: "Maven Build"
34
run: ./mvnw -Dinvoker.skip=true install
35
@@ -33,7 +40,6 @@ jobs:
40
env:
41
GPG_KEY_ID: ${{ secrets.GPG_KEY_ID }}
42
MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
36
- MAVEN_GPG_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
37
43
38
44
- name: "Sonatype Release"
39
45
uses: fjogeleit/http-request-action@v1
0 commit comments