Skip to content

0.1.8-SNAPSHOT

0.1.8-SNAPSHOT #1

name: Publish package to GitHub Packages
on:
release:
types: [published]
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
- name: Recreate settings.xml
uses: whelk-io/maven-settings-xml-action@v22
with:
servers: '[{ "id": "github", "username": "${{ github.actor }}", "password": "${{ secrets.GITHUB_TOKEN }}" }]'
- name: Publish package
run: mvn --batch-mode deploy