Use macos-12
because JDK 8 and sbt not available on macos-latest
anymore
#42
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
macos-latest
just recently got upgraded to use the macOS 14 Arm64 image.macos-latest
was referencing the macOS 12 x64 image.This change however now causes two problems:
The
actions/setup-java@v4
can not install Java 8 anymore on this macOS Arm64 image, because there are no Temurin 8 JDK packages available, you can check that easily here (which in the background uses the same API to fetch the desired versions likeactions/setup-java@v4
uses). Also, checking the Temurin™ Supported Platforms page under its section macOS (Apple Silicon) confirms that.Unfortunately, as of today, the GitHub Actions macOS 14 runner images (as well as the macOS 13 ones) do not provide
sbt
, see its README here. The macOS 12 runner images however did provide sbt, see here.So the easiest thing to keep testing with Java 8 on macOS currently is to stay on
macos-12
for now.I did open requests to add
sbt
to the macOS 14 images (both Arm64 and x64), seesbt
to macOS 13 and macOS 14 actions/runner-images#9837sbt
to macOS 13 and macOS 14 actions/runner-images#9830Once
sbt
is availabe for themacos-latest
image, we could make use of it, but exclude Java8 on macOS from testing: