Skip to content

Commit 5052f7a

Browse files
committed
Adjust pgp import
1 parent 37817ec commit 5052f7a

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,6 @@ jobs:
304304
path: project/target
305305

306306
- name: Import signing key
307-
run: echo $PGP_SECRET | gpg --import
307+
run: echo $PGP_SECRET | base64 -d | gpg --import
308308

309309
- run: sbt ++${{ matrix.scala }} release

build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ ThisBuild / githubWorkflowTargetTags += "v*"
2525

2626
ThisBuild / githubWorkflowPublishPreamble +=
2727
WorkflowStep.Run(
28-
List("echo $PGP_SECRET | gpg --import"),
28+
List("echo $PGP_SECRET | base64 -d | gpg --import"),
2929
name = Some("Import signing key"))
3030

3131
ThisBuild / githubWorkflowPublish := Seq(WorkflowStep.Sbt(List("release")))

0 commit comments

Comments
 (0)