From 90bc2c0f40b5691549be540cb85d003f49bcc4b6 Mon Sep 17 00:00:00 2001 From: Justintime50 <39606064+Justintime50@users.noreply.github.com> Date: Fri, 9 Aug 2024 15:10:08 -0600 Subject: [PATCH] fix: publish --- .github/workflows/publish.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index a0cebd47..d347b5f7 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -11,7 +11,7 @@ name: Publish library to Maven Central Repository on: release: - types: [ created ] + types: [created] secrets: MAVEN_USERNAME: required: true @@ -44,8 +44,8 @@ jobs: gpg-passphrase: MAVEN_GPG_PASSPHRASE gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }} - - name: Clean, build and publish to Apache Maven Central - run: make publish pass=${{ secrets.MAVEN_GPG_PASSPHRASE }} + - name: Publish to Apache Maven Central + run: mvn deploy env: MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }} MAVEN_CENTRAL_TOKEN: ${{ secrets.MAVEN_CENTRAL_TOKEN }}