Skip to content

Release

Release #33

Workflow file for this run

name: Release
on:
workflow_dispatch
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 17
uses: actions/setup-java@v1
with:
java-version: 17
- shell: bash
env:
gpg_private_key: ${{ secrets.gpg_private_key }}
run: |
printf "%s" "$gpg_private_key" | gpg --import --batch --yes
- name: Release with nexus-staging-maven-plugin
env:
gpg_passphrase: ${{ secrets.gpg_passphrase }}
ossrh_login: ${{ secrets.ossrh_login }}
ossrh_pass: ${{ secrets.ossrh_pass }}
run: mvn -B -s .mvn/settings.xml -P release deploy --file pom.xml