Skip to content

chore: prepare for next development iteration #13

chore: prepare for next development iteration

chore: prepare for next development iteration #13

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 }}"