Skip to content

Upload Java Maven Package #11

Upload Java Maven Package

Upload Java Maven Package #11

Workflow file for this run

name: Upload Java Maven Package
on:
release:
types: [created]
permissions:
contents: read
packages: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Java
uses: actions/setup-java@v4
with:
java-version: "17"
distribution: "temurin"
- name: Release Maven package
uses: samuelmeuli/[email protected]
env:
GPG_TTY: "$(tty)"
with:
maven_profiles: deploy, verify
gpg_private_key: ${{secrets.GPG_PRIVATE}}
gpg_passphrase: ""
nexus_username: ${{secrets.OSSRH_USERNAME}}
nexus_password: ${{secrets.OSSRH_TOKEN}}