Skip to content

chore(main): release 0.4.0-SNAPSHOT (#22) #16

chore(main): release 0.4.0-SNAPSHOT (#22)

chore(main): release 0.4.0-SNAPSHOT (#22) #16

Workflow file for this run

name: Release
on:
push:
branches:
- main
permissions:
contents: read
packages: write
jobs:
release-please:
runs-on: ubuntu-latest
steps:
- name: Generate a token
id: generate_token
uses: actions/create-github-app-token@f2acddfb5195534d487896a656232b016a682f3c # v1.9.0
with:
app-id: "${{ secrets.APP_ID }}"
private-key: "${{ secrets.AUTOMATION_KEY }}"
- uses: google-github-actions/release-please-action@v4
with:
token: "${{ steps.generate_token.outputs.token }}"
config-file: release-please.json
manifest-file: .release-please-manifest.json
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- name: Set up JDK
uses: actions/setup-java@5896cecc08fd8a1fbdfaf517e29b571164b031f7
with:
java-version: "21"
distribution: "temurin"
server-id: github
- name: Publish package
run: mvn --batch-mode deploy -s settings.xml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}