Skip to content

Chore: readme update. #26

Chore: readme update.

Chore: readme update. #26

Workflow file for this run

name: Create a new Release
on:
push:
branches:
- main
workflow_dispatch:
permissions:
contents: write
pull-requests: write
jobs:
create_release:
runs-on: ubuntu-latest
steps:
- name: 🚀 release-please-action
uses: google-github-actions/release-please-action@v3
with:
release-type: maven
bump-minor-pre-major: true
bump-patch-for-minor-pre-major: true
- name: Checkout
uses: actions/checkout@v3
- name: Set up Maven Central Repository
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
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: Publish package
run: "mvn clean deploy --batch-mode -DskipTests -Pci-cd"
env:
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }}
MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}