Skip to content

Commit

Permalink
Always generate macOS brew install sbt step
Browse files Browse the repository at this point in the history
  • Loading branch information
armanbilge authored May 13, 2024
1 parent 8c20483 commit ad5579e
Showing 1 changed file with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -781,13 +781,10 @@ ${indent(jobs.map(compileJob(_, sbt)).mkString("\n\n"), 1)}
},
githubWorkflowGeneratedCacheSteps := Seq(),
githubWorkflowJobSetup := {
val brewInstallSbtOpt = if (githubWorkflowOSes.value.exists(_.contains("macos"))) {
val brewInstallSbt =
List(
WorkflowStep
.Run(List("brew install sbt"), name = Some("Install sbt"), cond = macosGuard))
} else {
Nil
}

val autoCrlfOpt = if (githubWorkflowOSes.value.exists(_.contains("windows"))) {
List(
Expand All @@ -799,7 +796,7 @@ ${indent(jobs.map(compileJob(_, sbt)).mkString("\n\n"), 1)}
Nil
}

brewInstallSbtOpt :::
brewInstallSbt :::
autoCrlfOpt :::
List(WorkflowStep.CheckoutFull) :::
WorkflowStep.SetupJava(githubWorkflowJavaVersions.value.toList) :::
Expand Down

0 comments on commit ad5579e

Please sign in to comment.