Skip to content

Commit

Permalink
Java 8 not available on macos-latest anymore (14 arm)
Browse files Browse the repository at this point in the history
  • Loading branch information
mkurz committed May 8, 2024
1 parent 9b3a3c4 commit e9aae4a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ jobs:
os: [ubuntu-latest, macos-latest]
scala: [2.12.19]
java: [temurin@8, temurin@11, temurin@17, temurin@21]
exclude:
- java: temurin@8
os: macos-latest
runs-on: ${{ matrix.os }}
steps:
- name: Checkout current branch (full)
Expand Down
3 changes: 3 additions & 0 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,9 @@ ThisBuild / githubWorkflowJavaVersions := Seq(
JavaSpec.temurin("21")
)

ThisBuild / githubWorkflowBuildMatrixExclusions +=
MatrixExclude(Map("java" -> "temurin@8", "os" -> "macos-latest"))

// Necessary to setup git so that sbt-scripted tests can run on github actions
ThisBuild / githubWorkflowBuildPreamble := Seq(
WorkflowStep.Run(
Expand Down

0 comments on commit e9aae4a

Please sign in to comment.