Skip to content

Commit

Permalink
Partly Revert "CI: manually install sbt on macOS"
Browse files Browse the repository at this point in the history
This partly reverts commit f9c9e4f.
  • Loading branch information
mkurz committed Jun 26, 2024
1 parent d15283d commit 1bc554d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 16 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,6 @@ jobs:
- name: Setup sbt
uses: sbt/setup-sbt@v1

- name: Install sbt
if: matrix.os == 'macos-latest'
shell: bash
run: brew install sbt

- name: Check that workflows are up to date
shell: bash
run: sbt '++ ${{ matrix.scala }}' githubWorkflowCheck
Expand Down
12 changes: 1 addition & 11 deletions publish.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -61,16 +61,6 @@ inThisBuild(
githubWorkflowJavaVersions := Seq(
JavaSpec.temurin("8")
),
githubWorkflowBuildMatrixExclusions += MatrixExclude(Map("java" -> "temurin@8", "os" -> "macos-latest")),
// GitHub Actions macOS 13+ runner images do not come with sbt preinstalled anymore
githubWorkflowBuildPreamble ++= Seq(
WorkflowStep.Run(
commands = List(
"brew install sbt"
),
cond = Some("matrix.os == 'macos-latest'"),
name = Some("Install sbt")
)
)
githubWorkflowBuildMatrixExclusions += MatrixExclude(Map("java" -> "temurin@8", "os" -> "macos-latest"))
)
)

0 comments on commit 1bc554d

Please sign in to comment.