diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9e2db57..22e3e3e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -21,7 +21,6 @@ jobs: env: USERNAME: ${{ github.actor }} TOKEN: ${{ secrets.GITHUB_TOKEN }} - ORG_GRADLE_PROJECT_signingKeyId: "4ED1648B5E695E6A" ORG_GRADLE_PROJECT_signingKey: ${{ secrets.GPG_PRIVATE_KEY }} ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.GPG_PASSPHRASE }} MAVEN_USERNAME: ${{ secrets.NEXUS_USERNAME }} diff --git a/build.gradle b/build.gradle index 1ede83d..eb4290b 100644 --- a/build.gradle +++ b/build.gradle @@ -93,9 +93,10 @@ publishing { } signing { + def signingKeyId = "5E695E6A" def signingKey = findProperty("signingKey") ?: "key" def signingPassword = findProperty("signingPassword") ?: "pass" - useInMemoryPgpKeys(signingKey, signingPassword) + useInMemoryPgpKeys(signingKeyId, signingKey, signingPassword) sign publishing.publications.mavenJava }