Skip to content

v1.0.1-rc12

v1.0.1-rc12 #1

name: Publish package to Maven Central
on:
release:
types: [ created ]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '21'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
- name: Publish artifact
run: >
./gradlew publish
-DmavenCentralUsername=${secrets.MAVEN_CENTRAL_USERNAME}
-DmavenCentralPassword=${secrets.MAVEN_CENTRAL_TOKEN}
-DsigningInMemoryKey=${secrets.MAVEN_CENTRAL_GPG_SECRET_KEY}
-DsigningInMemoryKeyPassword=${secrets.MAVEN_CENTRAL_GPG_SECRET_KEY_PASSWORD}