We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5522f7f commit 29db505Copy full SHA for 29db505
.github/workflows/publish-central.yml
@@ -1,8 +1,8 @@
1
name: Publish package to the Maven Central Repository
2
3
on:
4
- release:
5
- types: [ published ]
+ pull_request:
+ branches: [ "master" ]
6
7
jobs:
8
release:
@@ -26,7 +26,7 @@ jobs:
26
with: # running setup-java again overwrites the settings.xml
27
java-version: 17
28
distribution: 'adopt'
29
- server-id: ossrh
+ server-id: central
30
server-username: OSSRH_USERNAME
31
server-password: OSSRH_PASSWORD
32
gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
0 commit comments