diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 374735a..0ac4257 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -44,12 +44,12 @@ jobs: distribution: 'corretto' cache: maven server-id: ossrh - server-username: MAVEN_USERNAME - server-password: MAVEN_PASSWORD - - name: Publish package + + - name: Publish Maven package + uses: samuelmeuli/action-maven-publish@v1.4.0 run: mvn --batch-mode clean deploy env: - MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }} - MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }} - GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }} - PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }} \ No newline at end of file + nexus_username: ${{ secrets.OSSRH_USERNAME }} + nexus_password: ${{ secrets.OSSRH_TOKEN }} + gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }} + gpg_passphrase: ${{ secrets.GPG_PASSPHRASE }}