Skip to content

Merge remote-tracking branch 'origin/candidate-9.2.x' #25

Merge remote-tracking branch 'origin/candidate-9.2.x'

Merge remote-tracking branch 'origin/candidate-9.2.x' #25

name: Publish snapshot package to the Maven Central Repository
on:
push:
branches:
- 'master'
- 'candidate-*'
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Maven Central Repository
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'adopt'
server-id: ossrh
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
- name: Publish package
run: mvn --batch-mode deploy -DskipITs --file DataAccess/pom.xml
env:
MAVEN_USERNAME: ${{ secrets.OSSRH_USER_NAME }}
MAVEN_PASSWORD: ${{ secrets.OSSRH_PASS }}