chore: add automerge #218
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |