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

Java version 11.0.15 from Microsoft is not supported as input value #329

Closed
3 of 5 tasks
AGulev opened this issue May 24, 2022 · 5 comments · Fixed by #331
Closed
3 of 5 tasks

Java version 11.0.15 from Microsoft is not supported as input value #329

AGulev opened this issue May 24, 2022 · 5 comments · Fixed by #331
Labels
bug Something isn't working

Comments

@AGulev
Copy link
Contributor

AGulev commented May 24, 2022

Description:
Microsoft has 11.0.15 version as LTS version, but when I try to use it I get:

Error: Could not find satisfied version for SemVer 11.0.15. 
[31](https://github.com/defold/defold/runs/6577646803?check_suite_focus=true#step:4:32)
Available versions: 17.0.1, 16.0.2, 11.0.13

Task version:
Run actions/setup-java@v3
with:
java-version: 11.0.15
distribution: microsoft

Platform:

  • Ubuntu
  • macOS
  • Windows

Runner type:

  • Hosted
  • Self-hosted

Repro steps:
A description with steps to reproduce the issue. If your have a public example or repo to share, please provide the link.

Expected behavior:
11.0.15 works fine

Actual behavior:

Error: Could not find satisfied version for SemVer 11.0.15.

@AGulev AGulev added bug Something isn't working needs triage labels May 24, 2022
@dmitry-shibanov
Copy link
Contributor

Hello @AGulev. Thank you for your report. We'll investigate the issue.

I think the issue is related to the fact that Microsoft Build of OpenJDK does not have a public API that is why the action uses predefined versions. I consider we can add this version to the code.

AGulev added a commit to AGulev/setup-java that referenced this issue May 24, 2022
11.0.15 is LTS version. It's important to have it in the list.

Fix actions#329
This was referenced May 24, 2022
@AGulev
Copy link
Contributor Author

AGulev commented Jun 21, 2022

@marko-zivic-93 hi!
I see you have already merged my PR, I'm not sure how the release process looks like? is it already available for using or it will be available only after the next version release? (3.4.0?)

@e-korolevskii
Copy link
Contributor

Hello @AGulev!

Back to you with the news: we've just released 3.4.0 and updated the major tag. All updates are available in v3!

Have a good day!

@AGulev
Copy link
Contributor Author

AGulev commented Jun 21, 2022

@e-korolevskii Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants