Skip to content

RC1 for trying out deployment to maven central #1

RC1 for trying out deployment to maven central

RC1 for trying out deployment to maven central #1

Workflow file for this run

name: Publish package to the Maven Central Repository
on:
release:
types: [created]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: '11'
distribution: 'temurin'
server-id: central
server-username: ${{ secrets.MAVEN_CENTRAL_USER }}
server-password: ${{ secrets.MAVEN_CENTRAL_PASSWORD }}
gpg-private-key: ${{ secrets.GPG_SIGNING_KEY }}
gpg-passphrase: ${{ secrets.GPG_SIGNING_KEY_PASSPHRASE }}
- name: Publish package
run: mvn --batch-mode deploy