diff --git a/.github/workflows/maven_publish.yml b/.github/workflows/maven_publish.yml index aa6ec4d22f..53a2198545 100644 --- a/.github/workflows/maven_publish.yml +++ b/.github/workflows/maven_publish.yml @@ -1,7 +1,7 @@ name: Publish package to the Maven Central Repository on: release: - types: [created] + types: [published] jobs: publish: runs-on: ubuntu-latest @@ -24,4 +24,4 @@ jobs: env: MAVEN_USERNAME: ${{ secrets.CENTRAL_TOKEN_USERNAME }} MAVEN_PASSWORD: ${{ secrets.CENTRAL_TOKEN_PASSWORD }} - MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_SIGNING_KEY_PASSWORD }} \ No newline at end of file + MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_SIGNING_KEY_PASSWORD }}