Skip to content
This repository was archived by the owner on Feb 13, 2026. It is now read-only.

Add warning that repository is archived (#377) #161

Add warning that repository is archived (#377)

Add warning that repository is archived (#377) #161

Workflow file for this run

name: Publish
permissions:
contents: read
pull-requests: write
on:
push:
branches:
- main
tags:
- '*'
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6.0.2
with:
fetch-depth: 0
- uses: actions/setup-java@v5
with:
distribution: 'temurin'
java-version: '21'
server-id: github
settings-path: ${{ github.workspace }}
- name: Cache m2 repo
uses: actions/cache@v5
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Build
run: ./mvnw clean install -Dstyle.color=always
- name: Publish to sonatype
run: ./.github/scripts/push-to-nexus.sh
env:
BUILD_ENV: 'github-actions'
NEXUS_USERNAME: ${{ secrets.NEXUS_USERNAME }}
NEXUS_PASSWORD: ${{ secrets.NEXUS_PASSWORD }}
GPG_KEYNAME: ${{ secrets.GPG_KEYNAME }}
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
GPG_SIGNING_KEY: ${{ secrets.GPG_SIGNING_KEY }}