Skip to content

Publish Maven artifact to GitHub Packages #13

Publish Maven artifact to GitHub Packages

Publish Maven artifact to GitHub Packages #13

Workflow file for this run

name: Publish Maven artifact to GitHub Packages
on:
release:
tags:
- 'v*'
workflow_dispatch:
jobs:
publish:
runs-on: ubuntu-latest
permissions:
packages: write
contents: read
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: zulu
java-version: 17
- name: Publish package
run: mvn --batch-mode deploy
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}