From 81091bf96edfa6f97775e9afad46ac4ef0c8a716 Mon Sep 17 00:00:00 2001 From: btwonion Date: Sat, 11 May 2024 01:08:47 +0200 Subject: [PATCH] at this point im ashamed --- .github/workflows/release.yml | 1 + build.gradle.kts | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3480cd0..fdf9779 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -33,3 +33,4 @@ jobs: NYON_PASSWORD: ${{ secrets.NYON_PASSWORD }} GPG_SECRET_KEY: ${{ secrets.GPG_SECRET_KEY }} GPG_SECRET_KEY_PASSWORD: ${{ secrets.GPG_SECRET_KEY_PASSWORD }} + GPG_SECRET_KEY_ID: ${{ secrets.GPG_SECRET_KEY_ID }} diff --git a/build.gradle.kts b/build.gradle.kts index 322da25..c3701e4 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -180,9 +180,10 @@ kotlin { } signing { + val signingId = providers.environmentVariable("GPG_SECRET_KEY_ID").orNull val signingKey = providers.environmentVariable("GPG_SECRET_KEY").orNull val signingPassword = providers.environmentVariable("GPG_SECRET_KEY_PASSWORD").orNull - useInMemoryPgpKeys(signingKey, signingPassword) + useInMemoryPgpKeys(signingId, signingKey, signingPassword) sign(publishing.publications) }