Skip to content

Commit adf8579

Browse files
authored
Fix Maven Central upload (#2)
1 parent 84befef commit adf8579

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ jobs:
4444

4545
- name: Publish to Maven Central
4646
if: ${{ !inputs.skip-deploy-maven-central }}
47-
run: ./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository --warning-mode all
47+
run: |
48+
./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository --info --warning-mode all
4849
env:
4950
ORG_GRADLE_PROJECT_sonatypeUsername: ${{ secrets.MAVEN_CENTRAL_PORTAL_TOKEN }}
5051
ORG_GRADLE_PROJECT_sonatypePassword: ${{ secrets.MAVEN_CENTRAL_PORTAL_USERNAME }}

build.gradle

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,6 @@ nexusPublishing {
122122
packageGroup = project.group
123123
repositories {
124124
sonatype {
125-
stagingProfileId = "546ea6ce74787e"
126125
nexusUrl.set(uri("https://ossrh-staging-api.central.sonatype.com/service/local/"))
127126
snapshotRepositoryUrl.set(uri("https://central.sonatype.com/repository/maven-snapshots/"))
128127
}

0 commit comments

Comments
 (0)