Skip to content

Commit

Permalink
Limit makeMicrosite to 2_13
Browse files Browse the repository at this point in the history
  • Loading branch information
ghostbuster91 committed Mar 14, 2024
1 parent 4f37b69 commit ecb0576
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 3 additions & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,9 @@ ThisBuild / githubWorkflowBuildSbtStepPreamble := Seq.empty
ThisBuild / githubWorkflowBuild ~= { steps =>
steps.map {
case w: WorkflowStep.Sbt if w.commands == List("test") =>
w.copy(commands = List("test", "makeMicrosite", "publishLocal").map(_ + "_${{ matrix.scala }}_${{ matrix.scalaPlatform }}"))
w.copy(commands =
List("test", "publishLocal").map(_ + "_${{ matrix.scala }}_${{ matrix.scalaPlatform }}") :+ "makeMicrosite",
)
case w => w
}
}
Expand Down
1 change: 0 additions & 1 deletion project/Build.scala
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ object Build {
val desiredCommands: Map[String, (String, Doublet => Boolean)] = Map(
"test" -> ("test", any),
"compile" -> ("compile", any),
"makeMicrosite" -> ("makeMicrosite", any),
"publishLocal" -> ("publishLocal", any),
)

Expand Down

0 comments on commit ecb0576

Please sign in to comment.