Skip to content

Commit 39708e1

Browse files
committed
build: use publishToMavenCentral
1 parent 7e480a6 commit 39708e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
echo $GPG_FILE | base64 -d > secring.gpg
5050
# Publish both locally and to Sonatype.
5151
# The artifacts stored locally will be used to generate the SLSA provenance.
52-
./gradlew publishAllPublicationsToBuildRepository publishToSonatype closeAndReleaseSonatypeStagingRepository
52+
./gradlew publishToMavenCentral --publishing-type=AUTOMATIC
5353
# Read the current version from gradle.properties.
5454
VERSION=$(./gradlew properties | grep 'version:' | awk '{print $2}')
5555
# Read the project group from gradle.properties.

0 commit comments

Comments
 (0)