Skip to content

Commit

Permalink
Update maven_publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
asmfstatoil authored Aug 2, 2024
1 parent 981f425 commit 63b816e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/maven_publish.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Publish package to the Maven Central Repository
on:
release:
types: [created]
types: [published]
jobs:
publish:
runs-on: ubuntu-latest
Expand All @@ -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 }}
MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_SIGNING_KEY_PASSWORD }}

0 comments on commit 63b816e

Please sign in to comment.