Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1 +1 @@
* @mariusvolkhart @mbayerPK
* @mariusvolkhart @mbayerPK @ethan-wrasman-pkware
8 changes: 5 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
name: Publish to Maven Central

on:
push:
pull_request:
types: [closed]
branches:
- main


jobs:
publish:
if: contains(github.ref, 'release')
if: github.event.pull_request.merged == true && contains(github.event.pull_request.head.ref, 'release')
runs-on: ubuntu-latest
steps:
- name: Checkout code
Expand All @@ -29,7 +31,7 @@ jobs:
ORG_GRADLE_PROJECT_SIGNING_PASSWORD: ${{ secrets.SIGNING_PASSWORD }}

- name: Notify Central Publisher Portal
if: contains(github.ref, 'SNAPSHOT') == false
if: contains(github.event.pull_request.head.ref, 'SNAPSHOT') == false
run: |
token=$(echo -n "${{ secrets.NEXUS_USERNAME }}:${{ secrets.NEXUS_PASSWORD }}" | base64)
curl -X POST \
Expand Down
Loading