File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -111,6 +111,6 @@ jobs:
111111 - name : Strip passphrase from signing key
112112 env :
113113 PGP_PASSPHRASE : ${{ secrets.PGP_PASSPHRASE }}
114- run : echo "$PGP_PASSPHRASE\n\n\n" | gpg --command-fd 0 --pinentry-mode loopback --change-passphrase 5EBC14B0F6C55083
114+ run : ( echo "$PGP_PASSPHRASE"; echo; echo) | gpg --command-fd 0 --pinentry-mode loopback --change-passphrase 5EBC14B0F6C55083
115115
116116 - run : sbt ++${{ matrix.scala }} release
Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ ThisBuild / githubWorkflowPublishPreamble := Seq(
8888 env = Map (" PGP_PASSPHRASE" -> " ${{ secrets.PGP_PASSPHRASE }}" )),
8989
9090 WorkflowStep .Run (
91- List (" echo \" $PGP_PASSPHRASE\\ n \\ n \\ n \" | gpg --command-fd 0 --pinentry-mode loopback --change-passphrase 5EBC14B0F6C55083" ),
91+ List (" ( echo \" $PGP_PASSPHRASE\" ; echo; echo) | gpg --command-fd 0 --pinentry-mode loopback --change-passphrase 5EBC14B0F6C55083" ),
9292 name = Some (" Strip passphrase from signing key" ),
9393 env = Map (" PGP_PASSPHRASE" -> " ${{ secrets.PGP_PASSPHRASE }}" )))
9494
You can’t perform that action at this time.
0 commit comments