File tree Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -139,6 +139,9 @@ jobs:
139139 echo "$PGP_PASSPHRASE" | gpg --pinentry-mode loopback --passphrase-fd 0 --import /tmp/signing-key.gpg
140140 (echo "$PGP_PASSPHRASE"; echo; echo) | gpg --command-fd 0 --pinentry-mode loopback --change-passphrase $(gpg --list-secret-keys --with-colons 2> /dev/null | grep '^sec:' | cut --delimiter ':' --fields 5 | tail -n 1)
141141
142+ - name : Setup sbt
143+ uses : sbt/setup-sbt@v1
144+
142145 - name : Publish
143146 run : sbt tlCiRelease
144147
Original file line number Diff line number Diff line change @@ -44,11 +44,13 @@ ThisBuild / scmInfo := Some(
4444
4545ThisBuild / crossScalaVersions := Seq (" 2.11.12" , " 2.12.16" , " 2.13.7" , " 3.1.3" )
4646
47+ val setupSbt = WorkflowStep .Use (
48+ UseRef .Public (" sbt" , " setup-sbt" , " v1" ),
49+ name = Some (" Setup sbt" )
50+ )
51+
4752ThisBuild / githubWorkflowBuildPreamble ++= Seq (
48- WorkflowStep .Use (
49- UseRef .Public (" sbt" , " setup-sbt" , " v1" ),
50- name = Some (" Setup sbt" )
51- ),
53+ setupSbt,
5254 WorkflowStep .Use (
5355 UseRef .Public (" actions" , " setup-node" , " v3" ),
5456 name = Some (" Setup NodeJS v18 LTS" ),
@@ -62,6 +64,8 @@ ThisBuild / githubWorkflowBuildPreamble ++= Seq(
6264 ),
6365)
6466
67+ ThisBuild / githubWorkflowPublishPreamble += setupSbt
68+
6569val ciVariants = List (" ciNode" , " ciFirefox" , " ciChrome" , " ciJSDOMNodeJS" )
6670
6771ThisBuild / githubWorkflowBuildMatrixAdditions += " ci" -> ciVariants
You can’t perform that action at this time.
0 commit comments