From 3f68b804c49669ef0d456f09607a2e5be649471f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vojt=C4=9Bch=20S=C3=A1zel?= Date: Sun, 19 Oct 2025 21:01:40 +0200 Subject: [PATCH] CI: fix SonaType Maven Central (attempt 5) --- .github/workflows/build.yml | 6 ++---- gradle.properties | 1 - 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 22924da..4eabcd2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -76,16 +76,14 @@ jobs: - name: Setup gradle uses: gradle/gradle-build-action@v3 - - name: Add to signAllPublications to gradle.properties - run: | - echo "signAllPublications=true" >> gradle.properties - - name: Release to sonatype env: ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.SONATYPE_USER }} ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.SONATYPE_PASSWORD }} ORG_GRADLE_PROJECT_signingInMemoryKeyPassword: ${{ secrets.GPG_KEY_PASSWORD }} ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.GPG_KEY_SECRET }} + GPG_KEY_PASSWORD: ${{ secrets.GPG_KEY_PASSWORD }} + GPG_KEY_SECRET: ${{ secrets.GPG_KEY_SECRET }} PACKAGE_VERSION: ${{ github.event.release.tag_name }} run: ./gradlew publishToMavenCentral --debug diff --git a/gradle.properties b/gradle.properties index a09a23e..ed69e2e 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,4 +1,3 @@ kotlin.code.style=official kotlin.js.generate.executable.default=false org.jetbrains.dokka.experimental.gradle.pluginMode=V2Enabled -signAllPublications=true