Skip to content

Commit 4c6f035

Browse files
chore: disable automatic submission to maven central
1 parent 3497e12 commit 4c6f035

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
name: Publish
22

33
on:
4-
workflow_dispatch:
54
release:
65
types:
76
- released
@@ -39,7 +38,7 @@ jobs:
3938

4039
# Runs upload, and then closes & releases the repository
4140
- name: Publish to MavenCentral
42-
run: ./gradlew publishReleasePublicationToSonatypeRepository --max-workers 1 closeAndReleaseStagingRepositories
41+
run: ./gradlew publishReleasePublicationToSonatypeRepository --max-workers 1 # closeAndReleaseStagingRepositories
4342
env:
4443
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
4544
OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
@@ -51,7 +50,7 @@ jobs:
5150
- name: Manual MavenCentral Upload
5251
uses: fjogeleit/http-request-action@v1
5352
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'
5554
method: 'POST'
5655
bearerToken: ${{ secrets.OSSRH_TOKEN }}
5756
timeout: 10000

0 commit comments

Comments
 (0)