Skip to content

Commit

Permalink
Try with $HOME
Browse files Browse the repository at this point in the history
  • Loading branch information
cbeust committed Aug 7, 2020
1 parent bb0654a commit 94da4c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish-maven-central.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
SONATYPE_USER: ${{ secrets.SONATYPE_USER }}
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
run: |
./gradlew -Psigning.secretKeyRingFile=/home/runner/.gnupg/secring.gpg -Psigning.password="" -P signing.keyId=${{ secrets.GPG_KEY_ID }} publish
./gradlew -Psigning.secretKeyRingFile=$HOME/.gnupg/secring.gpg -Psigning.password="" -P signing.keyId=${{ secrets.GPG_KEY_ID }} publish
# Next, go to https://oss.sonatype.org/index.html#stagingRepositories, select the repo, "Close" it and then
# "Release" it

0 comments on commit 94da4c8

Please sign in to comment.