Skip to content

Commit 9886ec3

Browse files
author
JeanMarc van Leerdam
committed
Pass in key ID via different environment variable
1 parent 4117f8e commit 9886ec3

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ jobs:
1919
- uses: sbt/setup-sbt@v1
2020
- run: sbt ci-release
2121
env:
22+
PGP_ID: ${{ secrets.PGP_ID }}
2223
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
2324
PGP_SECRET: ${{ secrets.PGP_SECRET }}
2425
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}

build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ lazy val commonSettings = Seq(
2424
Credentials(
2525
"GnuPG Key ID",
2626
"gpg",
27-
System.getenv("PGP_SECRET"), // key identifier
27+
System.getenv("PGP_ID"), // key identifier
2828
"ignored" // this field is ignored; passwords are supplied by pinentry
2929
),
3030
Credentials(

0 commit comments

Comments
 (0)