Skip to content

Support new Java Distributions #564

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

Merged
merged 2 commits into from
Jun 24, 2023
Merged

Support new Java Distributions #564

merged 2 commits into from
Jun 24, 2023

Conversation

mzuehlke
Copy link
Collaborator

@mzuehlke mzuehlke commented Jun 24, 2023

  • deprecate Distribution.OpenJ9
  • add Distribution.Semuru
  • add Distribution. Microsoft

https://github.com/actions/setup-java#supported-distributions

Followup to: #558

* *deprecate* `Distribution.OpenJ9`
* *add* `Distribution.Semuru`
* *add* `Distribution. Microsoft`

sealed abstract class Distribution(val rendering: String) extends Product with Serializable

object Distribution {
case object Temurin extends Distribution("temurin")
case object Corretto extends Distribution("corretto")
@deprecated("Migrate to `temurin`or `semeru` instead.", "0.5.0")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't OpenJ9 specifically succeeded by Semeru?

It is highly recommended to migrate workflows from adopt and adopt-openj9, to temurin and semeru respectively

I think adopt -> temurin, adopt-openj9 -> semeru.

https://github.com/actions/setup-java#supported-distributions

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are right 👍

Copy link
Member

@armanbilge armanbilge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!

@mzuehlke mzuehlke merged commit 440613d into main Jun 24, 2023
@mzuehlke mzuehlke deleted the new-java-distributions branch June 24, 2023 09:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants