Skip to content

Commit

Permalink
CI publish maven central
Browse files Browse the repository at this point in the history
  • Loading branch information
larousso committed Sep 20, 2022
1 parent 5268ddb commit 65537be
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,15 @@ jobs:
publish:
runs-on: ubuntu-20.04
steps:
- uses: actions/[email protected]
with:
fetch-depth: 0
- name: Decode GPG Key
run: |
mkdir -p ~/.gradle/
echo "${{secrets.PGP_SECRET}}" > ~/.gradle/secring.gpg.b64
base64 -d ~/.gradle/secring.gpg.b64 > ~/.gradle/secring.gpg
- uses: actions/[email protected]
with:
fetch-depth: 0
- name: Publish
run: ./gradlew publish -Psigning.keyId=F07E3809 -Psigning.password=${{secrets.PGP_PASSPHRASE}} -Psigning.secretKeyRingFile=$(echo ~/.gradle/secring.gpg) --warn --stacktrace
env:
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
Expand Down

0 comments on commit 65537be

Please sign in to comment.