Skip to content

v2.1.0

v2.1.0 #16

Workflow file for this run

name: Release new version to Maven
on:
release:
type: [published]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Get the code
uses: actions/checkout@v4
- name: Setup Java 11
uses: actions/setup-java@v4
with:
java-version: 11
distribution: 'zulu'
server-id: ossrh-nexus
server-username: ${{ secrets.OSSRH_USERNAME }}
server-password: ${{ secrets.OSSRH_PASSWORD }}
gpg-private-key: ${{ secrets.GPG_KEY }}
gpg-passphrase: ${{ secrets.GPG_PASSPHRASE }}
- name: Verify the pom.xml
run: mvn verify
- name: Publish to the Maven Central Repository
run: mvn clean deploy