Skip to content

1. create indexes in mongo 2. enable snapshots by property (#43) #152

1. create indexes in mongo 2. enable snapshots by property (#43)

1. create indexes in mongo 2. enable snapshots by property (#43) #152

Workflow file for this run

name: Release to Maven Central
on:
push:
branches: ["master", "master-2.0"]
pull_request:
branches: ["master", "master-2.0"]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '11'
server-id: ossrh
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
gpg-passphrase: MAVEN_GPG_PASSPHRASE
- name: Deploy to Maven Central
run: mvn -B deploy -P release
env:
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}