Skip to content

Publish Snapshot

Publish Snapshot #149

Workflow file for this run

name: Publish Snapshot
on:
workflow_run:
workflows: [Verify Codebase]
types: [completed]
jobs:
snapshot:
name: Publish Snapshot
runs-on: ubuntu-latest
env:
MVN: ./mvnw --show-version --batch-mode --no-transfer-progress
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: 17
distribution: temurin
cache: maven
server-id: ossrh
server-username: OSSRH_USERNAME
server-password: OSSRH_PASSWORD
- run: $MVN deploy -DskipTests
env:
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}