diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b862b1b..94aebb9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -44,7 +44,8 @@ jobs: - name: Publish to Maven Central if: ${{ !inputs.skip-deploy-maven-central }} - run: ./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository --warning-mode all + run: | + ./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository --info --warning-mode all env: ORG_GRADLE_PROJECT_sonatypeUsername: ${{ secrets.MAVEN_CENTRAL_PORTAL_TOKEN }} ORG_GRADLE_PROJECT_sonatypePassword: ${{ secrets.MAVEN_CENTRAL_PORTAL_USERNAME }} diff --git a/build.gradle b/build.gradle index 69d477c..e5197a7 100644 --- a/build.gradle +++ b/build.gradle @@ -122,7 +122,6 @@ nexusPublishing { packageGroup = project.group repositories { sonatype { - stagingProfileId = "546ea6ce74787e" nexusUrl.set(uri("https://ossrh-staging-api.central.sonatype.com/service/local/")) snapshotRepositoryUrl.set(uri("https://central.sonatype.com/repository/maven-snapshots/")) }