Skip to content

chore: release version 4.0.0-RC11.1 #12

chore: release version 4.0.0-RC11.1

chore: release version 4.0.0-RC11.1 #12

Workflow file for this run

name: "Publish to maven central"
on:
push:
tags: [ "4.*" ]
jobs:
build:
environment: release
runs-on: ubuntu-latest
name: Publish to maven central
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup java
uses: actions/setup-java@v4
with:
java-version: 23
check-latest: true
distribution: 'zulu'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
with:
cache-read-only: true
add-job-summary: always
- name: Publish release to Sonatype
run: ./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository
env:
SONATYPE_USER: "${{ secrets.SONATYPE_USER }}"
SONATYPE_TOKEN: "${{ secrets.SONATYPE_TOKEN }}"
SIGNING_KEY: "${{ secrets.SIGNING_KEY }}"
SIGNING_KEY_PASSWORD: "${{ secrets.SIGNING_KEY_PASSWORD }}"