Skip to content

snapshot_release

snapshot_release #15

name: snapshot_release
on:
workflow_dispatch:
push:
branches:
- main
jobs:
snapshot_release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
server-id: ossrh
server-username: OSSRH_USERNAME
server-password: OSSRH_PASSWORD
- name: snapshot_release
env:
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
run: mvn -B -U --fail-at-end -DskipTests -DskipITs clean deploy