File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 1
1
name : Publish
2
2
3
3
on :
4
- workflow_dispatch :
5
4
release :
6
5
types :
7
6
- released
39
38
40
39
# Runs upload, and then closes & releases the repository
41
40
- name : Publish to MavenCentral
42
- run : ./gradlew publishReleasePublicationToSonatypeRepository --max-workers 1 closeAndReleaseStagingRepositories
41
+ run : ./gradlew publishReleasePublicationToSonatypeRepository --max-workers 1 # closeAndReleaseStagingRepositories
43
42
env :
44
43
OSSRH_USERNAME : ${{ secrets.OSSRH_USERNAME }}
45
44
OSSRH_PASSWORD : ${{ secrets.OSSRH_PASSWORD }}
51
50
- name : Manual MavenCentral Upload
52
51
uses : fjogeleit/http-request-action@v1
53
52
with :
54
- url : ' https://ossrh-staging-api.central.sonatype.com/manual/upload/defaultRepository/dev.jahir?publishing_type=automatic '
53
+ url : ' https://ossrh-staging-api.central.sonatype.com/manual/upload/defaultRepository/dev.jahir'
55
54
method : ' POST'
56
55
bearerToken : ${{ secrets.OSSRH_TOKEN }}
57
56
timeout : 10000
You can’t perform that action at this time.
0 commit comments