refactor: migrate to Central Publisher Portal
This commit is contained in:
@@ -69,3 +69,11 @@ jobs:
|
||||
|
||||
- name: Publish to Maven Central
|
||||
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 ''
|
||||
|
||||
Reference in New Issue
Block a user