diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 24d3da1..3480cd0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -31,5 +31,5 @@ jobs: DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }} NYON_USERNAME: ${{ secrets.NYON_USERNAME }} NYON_PASSWORD: ${{ secrets.NYON_PASSWORD }} - GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }} - GPG_PRIVATE_KEY_PASSWORD: ${{ secrets.GPG_PRIVATE_KEY_PASSWORD }} + GPG_SECRET_KEY: ${{ secrets.GPG_SECRET_KEY }} + GPG_SECRET_KEY_PASSWORD: ${{ secrets.GPG_SECRET_KEY_PASSWORD }} diff --git a/build.gradle.kts b/build.gradle.kts index 9b9590f..322da25 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -180,8 +180,8 @@ kotlin { } signing { - val signingKey = providers.environmentVariable("GPG_PRIVATE_KEY").orNull - val signingPassword = providers.environmentVariable("GPG_PRIVATE_KEY_PASSWORD").orNull + val signingKey = providers.environmentVariable("GPG_SECRET_KEY").orNull + val signingPassword = providers.environmentVariable("GPG_SECRET_KEY_PASSWORD").orNull useInMemoryPgpKeys(signingKey, signingPassword) sign(publishing.publications)