Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mac CI/CD fails because of Java 8 #119

Closed
TWiStErRob opened this issue Apr 26, 2024 · 3 comments · Fixed by #127
Closed

Mac CI/CD fails because of Java 8 #119

TWiStErRob opened this issue Apr 26, 2024 · 3 comments · Fixed by #127

Comments

@TWiStErRob
Copy link
Member

TWiStErRob commented Apr 26, 2024

actions/setup-java#625 -> actions/setup-java#625 (comment)

Probably caused by: https://github.blog/changelog/2024-04-01-macos-14-sonoma-is-generally-available-and-the-latest-macos-runner-image/

Probable solution:

-macos-latest
+macos-13 # Java 8 is not supported on macos-14+ (M1).

I saw now new issue related to this at https://github.com/actions/runner-images/issues

@TWiStErRob TWiStErRob changed the title Mac CI fails because of Java 8 Mac CI/CD fails because of Java 8 Apr 26, 2024
@TWiStErRob
Copy link
Member Author

TWiStErRob commented Jun 27, 2024

@detekt/maintainers thoughts? Repo is being blocked from any maintenance.

@3flex
Copy link
Member

3flex commented Jun 27, 2024

Downgrade to macOS 13 for now I think.

11 is still supported by GitHub runners (though deprecated), so there's quite some time until 13 is dropped.

Alternatively move to a Java distribution that supports Java 8 on aarch64 (Coretto or Zulu for example).

@TWiStErRob
Copy link
Member Author

TWiStErRob commented Jun 28, 2024

Merged a fix to unblock the dependency updates, we can change it if the solution is not the best.

Matthew's comment made me realise that we should stay on latest of machine because it should be faster during compilation even if it needs to download a Java.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants