diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index cc565c1..49e4268 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -20,8 +20,8 @@ jobs: run: ./gradlew check - name: Publish to Maven Central env: - ORG_GRADLE_PROJECT_signKey: ${{ secrets.SIGN_KEY }} - ORG_GRADLE_PROJECT_signKeyPass: ${{ secrets.SIGN_KEY_PASS }} + ORG_GRADLE_PROJECT_signingKey: ${{ secrets.SIGN_KEY }} + ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.SIGN_KEY_PASS }} ORG_GRADLE_PROJECT_sonatypeUsername: ${{ secrets.SONATYPE_USERNAME }} ORG_GRADLE_PROJECT_sonatypePassword: ${{ secrets.SONATYPE_PASSWORD }} run: ./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository diff --git a/build.gradle.kts b/build.gradle.kts index 0a4da24..49daa97 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -121,9 +121,9 @@ publishing { } signing { - val signKey: String? by project - val signKeyPass: String? by project - useInMemoryPgpKeys(signKey, signKeyPass) + val signingKey: String? by project + val signingPassword: String? by project + useInMemoryPgpKeys(signingKey, signingPassword) sign(publishing.publications["maven"]) }