chore: prepare for next development iteration #13
Workflow file for this run
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: "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 }}" |