Skip to content

chore: add automerge #218

chore: add automerge

chore: add automerge #218

name: deploy-snapshot
on:
push:
branches:
- master
jobs:
deploy-snapshot:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
- name: Setup JDK8 and Maven
uses: actions/setup-java@v4
with:
java-version: 8
distribution: 'temurin'
server-id: ossrh-flacoco-snapshots
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
- name: Deploy to Snapshot repository
run: mvn deploy --batch-mode -DskipTests
env:
MAVEN_USERNAME: ${{ secrets.OSSRH_TOKEN_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN_PASSWORD }}