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

Migrate sanity.yml workflow to setup-java action #144

Merged
merged 2 commits into from
Nov 8, 2022

Conversation

ultramancoder
Copy link
Contributor

The AdoptOpenJDK/install-jdk has not been updated in a while but setup-java is so it probably makes sense to migrate to it. Also see #122 for more details.

The AdoptOpenJDK/install-jdk has not been updated in a while but setup-java
 is so it probably makes sense to migrate to it. Also see adoptium#122 for more
 details.
@smlambert smlambert requested a review from sophia-guo November 2, 2022 19:43
@smlambert
Copy link
Contributor

Thanks @ultramancoder ! I have requested a review from @sophia-guo - please count this as one of your Outreachy contributions and we will try to get it reviewed/merged shortly.

@@ -11,16 +11,14 @@ jobs:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
version: [8, 11, 17]
impl: [hotspot]
distribution: [temurin]
Copy link
Contributor

Choose a reason for hiding this comment

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

distribution is required by setup-java action. The parameter name can keep as before.

@ultramancoder
Copy link
Contributor Author

Hi! @sophia-guo Thanks for the review. I updated the PR. Did I understand your comment correctly or are more changes needed?

@@ -11,16 +11,14 @@ jobs:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
version: [8, 11, 17]
impl: [hotspot]
impl: [temurin]
Copy link
Contributor

Choose a reason for hiding this comment

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

The impl value should be hotspot.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

But according to the list here https://github.com/actions/setup-java#supported-distributions, hotspot is not a valid value. Am I missing something here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Do you mean that I should leave the impl set to hotspot and add another distribution parameter with value set to temurin and pass that to the action's distribution argument?

Copy link
Contributor

Choose a reason for hiding this comment

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

Sorry, you are correct. It should be updated to temurin. I was thinking the impl of TKG.

Copy link
Contributor

Choose a reason for hiding this comment

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

Could you tag the PR as ready for review? Thanks

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done, Thanks

@ultramancoder ultramancoder marked this pull request as ready for review November 8, 2022 04:01
Copy link
Contributor

@sophia-guo sophia-guo left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks @ultramancoder

@sophia-guo sophia-guo merged commit c6cda6b into adoptium:master Nov 8, 2022
@ultramancoder ultramancoder deleted the migrate-setup-java branch November 9, 2022 03:44
@Jamthea
Copy link

Jamthea commented Oct 1, 2024

Ok

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 this pull request may close these issues.

4 participants