From da833c78bb6ea9d39c12bc2dda17a672c8ab843c Mon Sep 17 00:00:00 2001 From: Liuzh Date: Thu, 18 Apr 2024 20:09:10 +0800 Subject: [PATCH] Update release.yml --- .github/workflows/release.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 37ac4d42f..0e954b254 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -2,8 +2,6 @@ name: Publish package to the Maven Central Repository on: push: tags: [ "*" ] - branches: - - master jobs: publish: runs-on: ubuntu-latest @@ -26,4 +24,4 @@ jobs: env: MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }} MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }} - run: mvn --batch-mode -Dgpg.passphrase=${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }} -P release clean deploy \ No newline at end of file + run: mvn --batch-mode -Dgpg.passphrase=${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }} -P release clean deploy