Skip to content

0.5.12

0.5.12 #19

Workflow file for this run

name: Release
on:
release:
types: [published]
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Set up JDK 11
uses: actions/setup-java@v4
with:
java-version: 11
distribution: 'adopt'
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Check with Gradle
run: ./gradlew check --info -Pversion=${{ github.event.release.tag_name }}
- name: Publish with Gradle to Sonatype
run: ./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository --info -Pversion=${{ github.event.release.tag_name }}
env:
SIGNING_KEY: ${{ secrets.SIGNING_KEY }}
SIGNING_PASSWORD: ${{ secrets.SIGNING_PASSWORD }}
ORG_GRADLE_PROJECT_sonatypeUsername: ${{ secrets.SONATYPE_USERNAME }}
ORG_GRADLE_PROJECT_sonatypePassword : ${{ secrets.SONATYPE_PASSWORD }}