Skip to content

v0.5.6

v0.5.6 #20

Workflow file for this run

---
name: Publish package
on:
release:
types:
- created
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Check out project
uses: actions/checkout@v4
- name: Set up Java
uses: actions/setup-java@v4
with:
java-version: "17"
distribution: "temurin"
gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
gpg-passphrase: MAVEN_GPG_PASSPHRASE
server-id: ossrh
server-username: MAVEN_SONATYPE_USERNAME
server-password: MAVEN_SONATYPE_PASSPHRASE
cache: maven
- name: Publish package
run: ./.github/workflows/bin/deploy-multi.sh
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}
MAVEN_SONATYPE_USERNAME: ${{ secrets.MAVEN_SONATYPE_USERNAME }}
MAVEN_SONATYPE_PASSPHRASE: ${{ secrets.MAVEN_SONATYPE_PASSPHRASE }}