Skip to content

Release Build

Release Build #19

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:
NEXUS_USERNAME: ${{ secrets.NEXUS_USERNAME }}
NEXUS_TOKEN: ${{ secrets.NEXUS_TOKEN }}
PGP_PRIVATE_KEY: ${{ secrets.PGP_PRIVATE_KEY }}
PGP_KEY_PASSPHRASE: ${{ 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