refactor: migrate to Central Publisher Portal

This commit is contained in:
zihluwang
2025-05-05 10:39:17 +08:00
parent 07f697c0ca
commit f1d7d0f245
2 changed files with 9 additions and 1 deletions
@@ -69,3 +69,11 @@ jobs:
- name: Publish to Maven Central - name: Publish to Maven Central
run: ./gradlew publish run: ./gradlew publish
- name: Create Deployment on Central Publisher Portal
run: |
curl -X 'POST' \
'https://ossrh-staging-api.central.sonatype.com/manual/upload/defaultRepository/com.onixbyte?publishing_type=user_managed' \
-H 'accept: */*' \
-H 'Authorization: Bearer ${{ secrets.MAVEN_PORTAL_TOKEN }}' \
-d ''
+1 -1
View File
@@ -15,7 +15,7 @@
# limitations under the License. # limitations under the License.
# #
artefactVersion=2.1.0 artefactVersion=2.1.2
projectUrl=https://onixbyte.com/JDevKit projectUrl=https://onixbyte.com/JDevKit
projectGithubUrl=https://github.com/OnixByte/JDevKit projectGithubUrl=https://github.com/OnixByte/JDevKit
licenseName=The Apache License, Version 2.0 licenseName=The Apache License, Version 2.0