Skip to content

Commit 56cec69

Browse files
chore: attempt to fix maven publish
1 parent d9a89c3 commit 56cec69

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/publish.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838

3939
# Runs upload, and then closes & releases the repository
4040
- name: Publish to MavenCentral
41-
run: ./gradlew publishReleasePublicationToSonatypeRepository --max-workers 1 closeAndReleaseStagingRepository
41+
run: ./gradlew publishReleasePublicationToSonatypeRepository --max-workers 1 closeAndReleaseSonatypeStagingRepository
4242
env:
4343
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
4444
OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}

scripts/publish-mavencentral.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ afterEvaluate {
101101
}
102102
repositories {
103103
maven {
104-
name = "devjahir"
104+
name = "sonatype"
105105
url = "https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/"
106106

107107
credentials {

0 commit comments

Comments
 (0)