Skip to content

Release Build

Release Build #16

Workflow file for this run

name: Release Build
on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
workflow_dispatch: {}
jobs:
publishToMaven:
runs-on: ubuntu-latest
env:
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}
GPG_PRIVATE_KEY: ${{ secrets.PGP_PRIVATE_KEY }}
SIGNING_KEY_PASSWORD: ${{ secrets.PGP_KEY_PASSPHRASE}}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'adopt'
- name: Publish to Nexus Maven Repository
run: |
./gradlew publish