Skip to content

Release 0.11.RELEASE #1

Release 0.11.RELEASE

Release 0.11.RELEASE #1

Workflow file for this run

name: Release
on:
push:
tags:
- '*.RELEASE'
jobs:
build:
name: Build
runs-on: ${{ matrix.os }}
strategy:
matrix:
java_version: [17]
os: [ubuntu-20.04]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up JDK ${{ matrix.java_version }}
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: ${{ matrix.java_version }}
cache: 'gradle'
- name: Build with Gradle
run: |
./gradlew build javadoc
- name: Publish to Maven Central
env:
MAVEN_CENTRAL_USER: ${{ secrets.MAVEN_CENTRAL_USER }}
MAVEN_CENTRAL_PASSWORD: ${{ secrets.MAVEN_CENTRAL_PASSWORD }}
PGP_SIGNING_KEY: ${{ secrets.PGP_SIGNING_KEY }}
PGP_SIGNING_KEY_PASSPHRASE: ${{ secrets.PGP_SIGNING_KEY_PASSPHRASE }}
run: |
./gradlew publishStandardPublicationToMavenCentralRepository