From 63b816e85b76868dea1c8a14026c685f7cfaa371 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=85smund=20V=C3=A5ge=20Fannemel?= <34712686+asmfstatoil@users.noreply.github.com> Date: Fri, 2 Aug 2024 12:27:51 +0200 Subject: [PATCH] Update maven_publish.yml --- .github/workflows/maven_publish.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 }}