diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 75ee4d99..40757ab5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -86,4 +86,6 @@ jobs: run: ./gradlew publish --stacktrace - name: Publish to ossrh - run: ./gradlew jreleaserFullRelease --stacktrace + run: | + ./gradlew jreleaserFullRelease --stacktrace + curl -X POST https://ossrh-staging-api.central.sonatype.com/manual/upload/defaultRepository/io.dapr diff --git a/client/build.gradle b/client/build.gradle index bd8721be..e2640868 100644 --- a/client/build.gradle +++ b/client/build.gradle @@ -262,7 +262,7 @@ jreleaser { nexus2 { 'maven-central' { active = 'ALWAYS' - url = 'https://oss.sonatype.org/service/local' + url = 'https://ossrh-staging-api.central.sonatype.com/service/local' closeRepository = true releaseRepository = true applyMavenCentralRules = true