Skip to content

Commit 0061a2e

Browse files
committed
update publish command
1 parent b14b7a5 commit 0061a2e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/mavencentral.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
java-version: ${{ matrix.java }}
2121
check-latest: true
2222
- name: Build and Upload to the Maven Central Repository
23-
run: ./gradlew publishAllPublicationsToMavenCentralRepository closeAndReleaseRepository
23+
run: ./gradlew publishAndReleaseToMavenCentral
2424
env:
2525
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.MAVENCENTRALUSERNAME }}
2626
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.MAVENCENTRALPASSWORD }}

0 commit comments

Comments
 (0)