diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9ac909c4..0fe3c97e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -64,7 +64,7 @@ jobs: with: gradle-version: wrapper - name: Build and publish release - run: ./gradlew --no-daemon --info :assemble publish closeAndReleaseStagingRepository -Pversion=${{ needs.version.outputs.RELEASE_VERSION }} -x :benchmark:benchmark + run: ./gradlew --no-daemon --info :assemble publish closeAndReleaseStagingRepositories -Pversion=${{ needs.version.outputs.RELEASE_VERSION }} -x :benchmark:benchmark env: SIGNING_KEY_ID: ${{ secrets.SIGNING_KEY_ID }} SIGNING_PASSWORD: ${{ secrets.SIGNING_PASSWORD }} diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index d402411c..b5c22085 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -22,7 +22,7 @@ kover = { id = "org.jetbrains.kotlinx.kover", version = "0.7.6" } detekt = { id = "io.gitlab.arturbosch.detekt", version.ref = "detekt" } ktlint = { id = "org.jlleitschuh.gradle.ktlint", version = "12.1.0" } kotlin-binaryCompatibility = { id = "org.jetbrains.kotlinx.binary-compatibility-validator", version = "0.14.0" } -nexus-publish = { id = "io.github.gradle-nexus.publish-plugin", version = "1.3.0" } +nexus-publish = { id = "io.github.gradle-nexus.publish-plugin", version = "2.0.0" } # version 7.x requires java 17 expediagroup-graphql = { id = "com.expediagroup.graphql", version.ref = "graphql" }