Skip to content

download-artifact@v4 has new name handling #69

download-artifact@v4 has new name handling

download-artifact@v4 has new name handling #69

name: Release to Maven central repository
on:
push:
tags:
- '*'
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Check out Git repository
uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
cache: 'maven'
- name: Release Maven package
uses: samuelmeuli/action-maven-publish@v1
with:
maven_args: -D=skipTests=true -Psign
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
gpg_passphrase: ${{ secrets.GPG_PASSPHRASE }}
nexus_username: ${{ secrets.NEXUS_USERNAME }}
nexus_password: ${{ secrets.NEXUS_PASSWORD }}