File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -101,6 +101,9 @@ jobs:
101101 ~/Library/Caches/Coursier/v1
102102 key : ${{ runner.os }}-sbt-cache-v2-${{ hashFiles('**/*.sbt') }}-${{ hashFiles('project/build.properties') }}
103103
104+ - name : Export GPG_TTY
105+ run : echo "GPG_TTY=$(tty)" >> $GITHUB_ENV
106+
104107 - name : Import signing key
105108 run : echo $PGP_SECRET | base64 -d | gpg --import
106109
Original file line number Diff line number Diff line change @@ -79,6 +79,9 @@ ThisBuild / spiewakMainBranches := Seq("main")
7979ThisBuild / githubWorkflowArtifactUpload := false
8080
8181// we can remove this once we have a non-password-protected key in the secrets
82+ ThisBuild / githubWorkflowPublishPreamble :=
83+ WorkflowStep .ComputeVar (" GPG_TTY" , " tty" ) +: (ThisBuild / githubWorkflowPublishPreamble).value
84+
8285ThisBuild / githubWorkflowPublishPreamble +=
8386 WorkflowStep .Run (
8487 List (" echo \" $PGP_PASSPHRASE\" | gpg --batch --yes --passphrase-fd 0 build.sbt &> /dev/null" ),
You can’t perform that action at this time.
0 commit comments