From 115a259826b8ca76bf26b64bb5a927e6037796e7 Mon Sep 17 00:00:00 2001 From: jeremyhi Date: Mon, 9 Sep 2024 10:54:10 +0800 Subject: [PATCH] chore: use token to publishing (#46) --- .github/workflows/mvn_publish.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/mvn_publish.yml b/.github/workflows/mvn_publish.yml index dc01e68..f9bfaaa 100644 --- a/.github/workflows/mvn_publish.yml +++ b/.github/workflows/mvn_publish.yml @@ -30,12 +30,9 @@ jobs: server-id: ossrh server-username: MAVEN_USERNAME server-password: MAVEN_PASSWORD - gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }} # Value of the GPG private key to import - gpg-passphrase: MAVEN_GPG_PASSPHRASE # env variable for GPG private key passphrase - name: Build with Maven run: mvn clean deploy --batch-mode -DskipTests -P release -B -U -e env: MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }} MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }} - MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}