Skip to content

2023.12.20

2023.12.20 #10

Workflow file for this run

name: Publish package to GitHub Packages
on:
release:
types: [created]
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v4
- name: Set up Java
uses: actions/setup-java@v3
with:
distribution: liberica
java-version: 17
- name: Publish package
run: ./mvnw versions:set -DnewVersion=${{ github.event.release.tag_name }} && ./mvnw --batch-mode --update-snapshots -DskipTests -P production deploy
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}