Skip to content

0.14.0

0.14.0 #16

Workflow file for this run

name: CD
on:
release:
types: [ created ]
jobs:
publish-maven-artifact:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup JDK
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java }}
distribution: temurin
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
- name: Check
run: ./gradlew check
- name: Publish
run: ./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository
env:
OSSRHUSER: ${{ secrets.OSSRHUSER }}
OSSRHPASSWORD: ${{ secrets.OSSRHPASSWORD }}
GITHUB_VERSION: ${{ github.event.release.tag_name }}
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
- name: Upload Gradle reports
uses: actions/upload-artifact@v4
if: failure()
with:
name: Gradle Reports
path: "**/build/reports"