-
Notifications
You must be signed in to change notification settings - Fork 264
Using Temurin builds of OpenJDK in GH actions #12
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
Conversation
💚 CLA has been signed |
I just signed the contributor agreement through Elastic Search's Docusign PDF. |
Thanks for the fix @carldea! AdoptOpenJDK has indeed been discontinued after its move to Eclipse Adoptium. The docs for I'd rather stay with this distribution, so can you please update the PR to use |
Now that two OpenJDK distros are available, there's an opportunity to do CI/CD against multiple JDK versions and JDK vendors at the same time, concurrently, i.e., this doesn't add time to the CI/CD process since runners work concurrently. It would be done like this, what do you think of that, @swallez? name: Set up JDK ${{ matrix.versions }} with ${{ matrix.distros }} |
@swallez I like this idea. What do you think? Food for thought: |
Testing against several versions is indeed something we will need at some point, e.g. because we also want to have a transport based on Java 11 builtin http client at some point. However I don't think testing against several distributions of the same version of OpenJDK brings a lot of value. Since we only have one transport for now and that the baseline is Java 8, let's stick to |
Signed-off-by: Carl Dea <carldea@gmail.com>
@swallez |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thanks for your contribution!
The AdoptOpenJDK has been discontinued Since July 2021. When using Zulu you get all the latest updated builds for all versions of OpenJDK. Also, I've added a matrix to later add JDK 17 (next LTS release). Gradle currently does not support JDK early access releases.