Patch release 0.9.1 for Memory leak bug fix #23
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CD | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- release | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '17' | |
distribution: 'adopt' | |
- name: Publish | |
run: ./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository -no-daemon --no-parallel --stacktrace -DSONATYPE_USERNAME="$SONATYPE_USERNAME" -DSONATYPE_PASSWORD="$SONATYPE_PASSWORD" -DGPG_PRIVATE_PASSWORD="$GPG_PRIVATE_PASSWORD" -DGPG_PRIVATE_KEY="$GPG_PRIVATE_KEY" | |
env: | |
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }} | |
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }} | |
SONATYPE_REPOSITORY_ID: ${{ needs.create_staging_repository.outputs.repository_id }} | |
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }} | |
GPG_PRIVATE_PASSWORD: ${{ secrets.GPG_PRIVATE_PASSWORD }} | |
ORG_GRADLE_PROJECT_sonatypePassword: ${{ secrets.SONATYPE_PASSWORD }} | |
ORG_GRADLE_PROJECT_sonatypeUsername: ${{ secrets.SONATYPE_USERNAME }} | |
# The USERNAME and TOKEN need to correspond to the credential's environment variables used in | |
# the publishing section of your build.gradle | |
# - name: Publish to GitHub Packages | |
# uses: gradle/gradle-build-action@4137be6a8bf7d7133955359dbd952c0ca73b1021 | |
# with: | |
# arguments: publish | |
# env: | |
# USERNAME: ${{ github.actor }} | |
# TOKEN: ${{ secrets.GITHUB_TOKEN }} |