From 92aea8e7996eb5a3390fe0b354d797ef7e274816 Mon Sep 17 00:00:00 2001 From: parvez3019 Date: Tue, 2 Apr 2024 03:00:27 +0530 Subject: [PATCH] udpate env variable and run command --- .github/workflows/maven-publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/maven-publish.yml b/.github/workflows/maven-publish.yml index 26666ca..684c616 100644 --- a/.github/workflows/maven-publish.yml +++ b/.github/workflows/maven-publish.yml @@ -24,7 +24,7 @@ jobs: gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }} gpg-passphrase: MAVEN_GPG_PASSPHRASE - name: Publish to the Maven Central Repository - run: mvn --batch-mode -Dgpg.passphrase=${{ secrets.GPG_PASSPHRASE }} deploy + run: mvn --batch-mode -Dgpg.passphrase=${{ secrets.GPG_PASSPHRASE }} clean deploy env: MAVEN_USERNAME: ${{ secrets.USERNAME }} MAVEN_PASSWORD: ${{ secrets.CENTRAL_TOKEN }}