Skip to content

Merge pull request #16 from florian-tirard/bugfix/stream-fetch-size #102

Merge pull request #16 from florian-tirard/bugfix/stream-fetch-size

Merge pull request #16 from florian-tirard/bugfix/stream-fetch-size #102

Workflow file for this run

name: Publish
on:
push:
branches: [main, master]
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.key
gpg --batch --pinentry-mode=loopback --yes --passphrase ${{ secrets.PGP_PASSPHRASE }} --import ~/.gradle/secring.key
gpg --batch --pinentry-mode=loopback --yes --passphrase ${{ secrets.PGP_PASSPHRASE }} --export-secret-key D546AEC36F94B3078E33900CE856678CF07E3809 > ~/.gradle/secring.gpg
- name: Publish
run: |
./gradlew publishToSonatype -Psigning.keyId=F07E3809 -Psigning.password=${{secrets.PGP_PASSPHRASE}} -Psigning.secretKeyRingFile=$(echo ~/.gradle/secring.gpg) closeAndReleaseSonatypeStagingRepository --warn --stacktrace
env:
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
PGP_SECRET: ${{ secrets.PGP_SECRET }}
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}