Skip to content

Commit

Permalink
at this point im ashamed
Browse files Browse the repository at this point in the history
  • Loading branch information
btwonion committed May 10, 2024
1 parent 19c6da7 commit 81091bf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
3 changes: 2 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

0 comments on commit 81091bf

Please sign in to comment.