From 56cec696ff0ad1a9bb283542c3099dd0f5a5883c Mon Sep 17 00:00:00 2001 From: Jahir Fiquitiva Date: Sun, 30 Jun 2024 13:32:55 -0500 Subject: [PATCH] chore: attempt to fix maven publish --- .github/workflows/publish.yml | 2 +- scripts/publish-mavencentral.gradle | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 4c7adaa65..00b16c8d3 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -38,7 +38,7 @@ jobs: # Runs upload, and then closes & releases the repository - name: Publish to MavenCentral - run: ./gradlew publishReleasePublicationToSonatypeRepository --max-workers 1 closeAndReleaseStagingRepository + run: ./gradlew publishReleasePublicationToSonatypeRepository --max-workers 1 closeAndReleaseSonatypeStagingRepository env: OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }} OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }} diff --git a/scripts/publish-mavencentral.gradle b/scripts/publish-mavencentral.gradle index 5c14d3cfb..5148962fc 100644 --- a/scripts/publish-mavencentral.gradle +++ b/scripts/publish-mavencentral.gradle @@ -101,7 +101,7 @@ afterEvaluate { } repositories { maven { - name = "devjahir" + name = "sonatype" url = "https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/" credentials {