File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -111,6 +111,6 @@ jobs:
111
111
- name : Strip passphrase from signing key
112
112
env :
113
113
PGP_PASSPHRASE : ${{ secrets.PGP_PASSPHRASE }}
114
- run : echo "passwd\n $PGP_PASSPHRASE\n\n\nsave\nquit\ n" | gpg --edit-key 5EBC14B0F6C55083
114
+ run : echo "$PGP_PASSPHRASE\n\n\n" | gpg --command-fd 0 --pinentry-mode loopback --change-passphrase 5EBC14B0F6C55083
115
115
116
116
- run : sbt ++${{ matrix.scala }} release
Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ ThisBuild / githubWorkflowPublishPreamble := Seq(
88
88
env = Map (" PGP_PASSPHRASE" -> " ${{ secrets.PGP_PASSPHRASE }}" )),
89
89
90
90
WorkflowStep .Run (
91
- List (" echo \" passwd \\ n $PGP_PASSPHRASE\\ n\\ n\\ nsave \\ nquit \\ n\" | gpg --edit-key 5EBC14B0F6C55083" ),
91
+ List (" echo \" $PGP_PASSPHRASE\\ n\\ n\\ n\" | gpg --command-fd 0 --pinentry-mode loopback --change-passphrase 5EBC14B0F6C55083" ),
92
92
name = Some (" Strip passphrase from signing key" ),
93
93
env = Map (" PGP_PASSPHRASE" -> " ${{ secrets.PGP_PASSPHRASE }}" )))
94
94
You can’t perform that action at this time.
0 commit comments