Skip to content

Release run 72

Release run 72 #72

name: release-workflow
run-name: Release run ${{ github.run_number }}
on:
workflow_dispatch:
jobs:
release:
name: Release
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-package: 'jre'
java-version: '21'
check-latest: true
server-id: 'ossrh'
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
cache: 'maven'
- name: Build & Deploy
run: |
mvn -U -B clean deploy -P release
env:
SIGN_KEY: ${{ secrets.ITEMIS_OSS_GPG_PRIVATE_KEY }}
SIGN_KEY_PASS: ${{ secrets.ITEMIS_OSS_GPG_PRIVATE_KEY_PASSPHRASE }}
MAVEN_USERNAME: ${{ secrets.ITEMIS_OSS_SONATYPE_TOKEN_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.ITEMIS_OSS_SONATYPE_TOKEN_PASSWORD }}