9.0.102-1-release-1 Gold #106
Workflow file for this run
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: Publish release to the Maven Central Repository | |
on: | |
push: | |
tags: | |
- '*-release' | |
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 | |
gpg-private-key: ${{ secrets.SIGNING_SECRET }} | |
gpg-passphrase: MAVEN_GPG_PASSPHRASE | |
- name: Publish package | |
run: mvn -Pjenkins-release -Dgpg.passphrase=${{ secrets.SIGN_MODULES_PASSPHRASE }} -DstagingProgressTimeoutMinutes=20 clean deploy -e --file DataAccess/pom.xml | |
env: | |
MAVEN_USERNAME: ${{ secrets.OSSRH_USER_NAME }} | |
MAVEN_PASSWORD: ${{ secrets.OSSRH_PASS }} | |
MAVEN_GPG_PASSPHRASE: ${{ secrets.SIGN_MODULES_PASSPHRASE }} |