File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -27,14 +27,15 @@ jobs:
27
27
28
28
- name : Decode
29
29
run : |
30
- echo "${{secrets.SIGNING_SECRET_KEY_RING_FILE}}" > ~/.gradle /secring.gpg.b64
31
- base64 -d ~/.gradle /secring.gpg.b64 > ~/.gradle /secring.gpg
30
+ echo "${{secrets.SIGNING_SECRET_KEY_RING_FILE}}" > /tmp /secring.gpg.b64
31
+ base64 -d /tmp /secring.gpg.b64 > /tmp /secring.gpg
32
32
33
33
- name : Publish Release to Sonatype
34
34
uses : gradle/gradle-build-action@v2
35
35
with :
36
36
gradle-version : 7.4
37
- arguments : assemble publish -Psigning.keyId=${{secrets.SIGNING_KEY_ID}} -Psigning.password=${{secrets.SIGNING_PASSWORD}} -Psigning.secretKeyRingFile=.gradle/secring.gpg -PossrhUsername=${{secrets.SONATYPE_NEXUS_USERNAME}} -PossrhPassword=${{secrets.SONATYPE_NEXUS_PASSWORD}} --stacktrace
37
+ arguments : assemble publish -Psigning.keyId=${{secrets.SIGNING_KEY_ID}} -Psigning.password=${{secrets.SIGNING_PASSWORD}} -Psigning.secretKeyRingFile=/tmp/secring.gpg) -PossrhUsername=${{secrets.SONATYPE_NEXUS_USERNAME}}
38
+ -PossrhPassword=${{secrets.SONATYPE_NEXUS_PASSWORD}} --stacktrace
38
39
39
40
- name : Create Release in Github
40
41
uses : actions/create-release@latest
You can’t perform that action at this time.
0 commit comments