GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Add microsoft distribution of the JDK. by brendandburns · Pull Request #252 · actions/setup-java

Conversation

@brendandburns

@brendandburns brendandburns commented Nov 18, 2021

Copy link
Copy Markdown
Contributor

Description:
Initial add of the Microsoft OpenJDK distribution

Related issue:
N/A

Check list:

  • Mark if documentation changes are required.
  • Mark if tests were added or updated to cover the changes.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@brendandburns

brendandburns commented Nov 18, 2021

Copy link
Copy Markdown
Contributor Author

This was based off of #225 thanks for making it easy!

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@brendandburns
brendandburns force-pushed the main branch from c28745f to 4dd2998 Compare November 18, 2021 17:30
@brendandburns

brendandburns commented Nov 18, 2021

Copy link
Copy Markdown
Contributor Author

cc @brunoborges

brunoborges reacted with heart emoji
All reactions
  • ❤️ 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

brunoborges
brunoborges reviewed Nov 18, 2021
View reviewed changes
Comment thread README.md Outdated
| `zulu` | Zulu OpenJDK | [Link](https://www.azul.com/downloads/zulu-community/?package=jdk) | [Link](https://www.azul.com/products/zulu-and-zulu-enterprise/zulu-terms-of-use/) |
| `adopt` or `adopt-hotspot` | Adopt OpenJDK Hotspot | [Link](https://adoptopenjdk.net/) | [Link](https://adoptopenjdk.net/about.html) |
| `adopt-openj9` | Adopt OpenJDK OpenJ9 | [Link](https://adoptopenjdk.net/) | [Link](https://adoptopenjdk.net/about.html)
| `microsoft` | Microsoft OpenJDK | [Link](https://www.microsoft.com/openjdk) | [Link](https://docs.microsoft.com/en-us/java/openjdk/faq)

@brunoborges brunoborges Nov 18, 2021

Copy link
Copy Markdown
Contributor

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.

Thanks @brendanburns! One quick suggestion here on the name: Microsoft Build of OpenJDK

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@brendandburns brendandburns Nov 18, 2021

Copy link
Copy Markdown
Contributor Author

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.

Done.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@brunoborges

brunoborges commented Nov 18, 2021

Copy link
Copy Markdown
Contributor

@ethomson this is a great PR.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@ethomson

ethomson commented Nov 18, 2021

Copy link
Copy Markdown
Contributor

Thanks @brendandburns! We'll take a look. 👀

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@brendandburns

brendandburns commented Nov 18, 2021

Copy link
Copy Markdown
Contributor Author

Comment addressed and I fixed formatting to follow prettier style guidelines.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@brendandburns

brendandburns commented Nov 19, 2021

Copy link
Copy Markdown
Contributor Author

Hold on this for a second, I realized that the Windows URLs aren't right, I need to substitute ".zip" for "tar.gz" I will get to that sometime today.

brcrista reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@brendandburns

brendandburns commented Nov 19, 2021

Copy link
Copy Markdown
Contributor Author

Ok, this is now fixed and I believe should be ready for final review.

ethomson and brunoborges reacted with thumbs up emoji
All reactions
  • 👍 2 reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

dikehtaw
dikehtaw approved these changes Nov 20, 2021
View reviewed changes
dikehtaw
dikehtaw reviewed Nov 20, 2021
View reviewed changes

@dikehtaw dikehtaw left a comment

Copy link
Copy Markdown

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.

gh pr checkout 252

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread README.md Outdated
| `zulu` | Zulu OpenJDK | [Link](https://www.azul.com/downloads/zulu-community/?package=jdk) | [Link](https://www.azul.com/products/zulu-and-zulu-enterprise/zulu-terms-of-use/) |
| `adopt` or `adopt-hotspot` | Adopt OpenJDK Hotspot | [Link](https://adoptopenjdk.net/) | [Link](https://adoptopenjdk.net/about.html) |
| `adopt-openj9` | Adopt OpenJDK OpenJ9 | [Link](https://adoptopenjdk.net/) | [Link](https://adoptopenjdk.net/about.html)
| `microsoft` | Microsoft OpenJDK | [Link](https://www.microsoft.com/openjdk) | [Link](https://docs.microsoft.com/en-us/java/openjdk/faq)

@dikehtaw dikehtaw Nov 20, 2021

Copy link
Copy Markdown

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.

brendandburns:main

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@brendandburns
brendandburns force-pushed the main branch from fc7c917 to aa7837f Compare November 22, 2021 21:16
@dmitry-shibanov

dmitry-shibanov commented Nov 23, 2021 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Hello @brendanburns. Thank you for your pull request. Will you add logic to automatically grab all available versions ?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

brcrista
brcrista reviewed Nov 29, 2021
View reviewed changes
Comment thread README.md Outdated
| `zulu` | Zulu OpenJDK | [Link](https://www.azul.com/downloads/zulu-community/?package=jdk) | [Link](https://www.azul.com/products/zulu-and-zulu-enterprise/zulu-terms-of-use/) |
| `adopt` or `adopt-hotspot` | Adopt OpenJDK Hotspot | [Link](https://adoptopenjdk.net/) | [Link](https://adoptopenjdk.net/about.html) |
| `adopt-openj9` | Adopt OpenJDK OpenJ9 | [Link](https://adoptopenjdk.net/) | [Link](https://adoptopenjdk.net/about.html)
| `microsoft` | Microsoft Build of OpenJDK | [Link](https://www.microsoft.com/openjdk) | [Link](https://docs.microsoft.com/en-us/java/openjdk/faq)

@brcrista brcrista Nov 29, 2021

Copy link
Copy Markdown
Contributor

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.

Suggested change
| `microsoft` | Microsoft Build of OpenJDK | [Link](https://www.microsoft.com/openjdk) | [Link](https://docs.microsoft.com/en-us/java/openjdk/faq)
| `microsoft` | Microsoft Build of OpenJDK | [Link](https://www.microsoft.com/openjdk) | [Link](https://docs.microsoft.com/java/openjdk/faq)

I believe docs.microsoft.com will redirect to the appropriate page for the user's language setting

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@brendandburns brendandburns Nov 30, 2021

Copy link
Copy Markdown
Contributor Author

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.

done.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
brcrista
brcrista reviewed Nov 29, 2021
View reviewed changes
Comment thread src/distributions/microsoft/installer.ts Outdated
import fs from 'fs';
import path from 'path';

const supportedPlatform = `'linux', 'macos', 'windows'`;

@brcrista brcrista Nov 29, 2021

Copy link
Copy Markdown
Contributor

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.

The URL in my browser shows macOS, but I see macos works as well (IIS? 🙂)

image

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@brendandburns brendandburns Nov 30, 2021

Copy link
Copy Markdown
Contributor Author

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.

I don't think there's anything needed here. (Aren't all URLs case-insensitive?)

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@brcrista brcrista Nov 30, 2021

Copy link
Copy Markdown
Contributor

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.

I believe the path part of a URL is usually case-sensitive: https://webmasters.stackexchange.com/questions/90339/why-are-urls-case-sensitive

It seems to work though, so no not a big deal.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
brcrista
brcrista reviewed Nov 29, 2021
View reviewed changes
Comment thread src/distributions/microsoft/installer.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

brcrista
brcrista reviewed Nov 29, 2021
View reviewed changes
Comment thread src/distributions/microsoft/installer.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

brcrista
brcrista reviewed Nov 29, 2021
View reviewed changes
Comment thread src/distributions/microsoft/installer.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

brcrista
brcrista reviewed Nov 29, 2021
View reviewed changes
Comment thread src/distributions/microsoft/installer.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

brcrista
brcrista reviewed Nov 29, 2021
View reviewed changes
Comment thread .github/workflows/e2e-versions.yml Resolved

Uh oh!

There was an error while loading. Please reload this page.

brcrista
brcrista reviewed Nov 29, 2021
View reviewed changes
Comment thread .github/workflows/e2e-versions.yml Resolved

Uh oh!

There was an error while loading. Please reload this page.

brcrista
brcrista reviewed Nov 29, 2021
View reviewed changes

@brcrista brcrista left a comment •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

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.

Looks good! This workflow is failing; I'm looking into why that is (and why it doesn't report on the Conversation page in the PR) must be because of the merge conflict on that file

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
brendanburns and others added 4 commits November 30, 2021 11:17
@brendanburns @brendandburns
Add microsoft distribution of the JDK.
1bc2528
@brendanburns @brendandburns
Fix formatting to match prettier.
9c1600a
@brendanburns @brendandburns
Rebuild js.
2828873
@brendandburns
Fix archive suffix for Windows.
f073089
@brendandburns
brendandburns force-pushed the main branch from aa7837f to f073089 Compare November 30, 2021 19:20
brendandburns and others added 2 commits November 30, 2021 11:24
@brendandburns @brcrista
Update src/distributions/microsoft/installer.ts
434a5bf
Co-authored-by: Brian Cristante <[email protected]>
@brendandburns @brcrista
Update src/distributions/microsoft/installer.ts
3d55049
Co-authored-by: Brian Cristante <[email protected]>
@brendandburns
brendandburns force-pushed the main branch from c4d08f2 to 27f2600 Compare November 30, 2021 21:02
@brcrista

brcrista commented Nov 30, 2021

Copy link
Copy Markdown
Contributor

Looks like there are some unresolved merge conflicts in .github/workflows/e2e-versions.yml and linting is failing. I can push fixes for those issues, if you don't mind.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@brcrista brcrista mentioned this pull request Nov 30, 2021
Fix CI brendandburns/setup-java#1
Merged
@brcrista

brcrista commented Nov 30, 2021

Copy link
Copy Markdown
Contributor

brendandburns#1 should fix the CI runs. Once those are green we can merge 🚢

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@brendandburns

brendandburns commented Nov 30, 2021

Copy link
Copy Markdown
Contributor Author

@brcrista Thanks! I merged your PR.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

brunoborges
brunoborges reviewed Dec 1, 2021
View reviewed changes
Comment thread .github/workflows/e2e-versions.yml
os: [macos-latest, windows-latest, ubuntu-latest]
distribution: ['temurin', 'adopt', 'adopt-openj9', 'zulu', 'liberica'] # internally 'adopt-hotspot' is the same as 'adopt'
distribution: ['temurin', 'adopt', 'adopt-openj9', 'zulu', 'liberica', 'microsoft' ] # internally 'adopt-hotspot' is the same as 'adopt'
version: ['8', '11', '16']

@brunoborges brunoborges Dec 1, 2021

Copy link
Copy Markdown
Contributor

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.

Can we replace 16 with 17 here, since 17 is the latest LTS now?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@brendandburns brendandburns Dec 1, 2021

Copy link
Copy Markdown
Contributor Author

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.

Probably worth doing in a different PR since it is unrelated to adding MSFT.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@brunoborges brunoborges Dec 1, 2021

Copy link
Copy Markdown
Contributor

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.

Ah, yes. That'd be better indeed.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread .github/workflows/e2e-versions.yml
os: [windows-latest, ubuntu-latest]
distribution: ['zulu', 'liberica']
distribution: ['liberica', 'microsoft', 'zulu']
version: ['11']

@brunoborges brunoborges Dec 1, 2021

Copy link
Copy Markdown
Contributor

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.

Should we move up to 17?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@brendandburns brendandburns Dec 1, 2021

Copy link
Copy Markdown
Contributor Author

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.

As above.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@brunoborges brunoborges Dec 1, 2021

Copy link
Copy Markdown
Contributor

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.

Noted.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread README.md Outdated
| `adopt` or `adopt-hotspot` | Adopt OpenJDK Hotspot | [Link](https://adoptopenjdk.net/) | [Link](https://adoptopenjdk.net/about.html) |
| `adopt-openj9` | Adopt OpenJDK OpenJ9 | [Link](https://adoptopenjdk.net/) | [Link](https://adoptopenjdk.net/about.html) |
| `liberica` | Liberica JDK | [Link](https://bell-sw.com/) | [Link](https://bell-sw.com/liberica_eula/) |
| `microsoft` | Microsoft OpenJDK | [Link](https://www.microsoft.com/openjdk) | [Link](https://docs.microsoft.com/java/openjdk/faq)

@brunoborges brunoborges Dec 1, 2021

Copy link
Copy Markdown
Contributor

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.

Correct name is Microsoft Build of OpenJDK

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@brendandburns brendandburns Dec 1, 2021

Copy link
Copy Markdown
Contributor Author

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.

Done (apologies, this got lost in my rebasing)

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread .github/workflows/e2e-versions.yml
distribution: ['temurin', 'adopt', 'adopt-openj9', 'zulu', 'liberica'] # internally 'adopt-hotspot' is the same as 'adopt'
distribution: ['temurin', 'adopt', 'adopt-openj9', 'zulu', 'liberica', 'microsoft' ] # internally 'adopt-hotspot' is the same as 'adopt'
version: ['8', '11', '16']
exclude:

@brunoborges brunoborges Dec 1, 2021

Copy link
Copy Markdown
Contributor

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.

I think we should also exclude Microsoft's version 16, as it is not an LTS release and we will no longer provide updates.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@brendandburns brendandburns Dec 1, 2021

Copy link
Copy Markdown
Contributor Author

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.

I think for now, since Microsoft hosts it, we should keep it in the spirit of meeting users where they are. Many users haven't updated their CI/CD for JDK 17.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@brunoborges brunoborges Dec 1, 2021

Copy link
Copy Markdown
Contributor

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.

Yeah, that makes sense. We are not exposing support timelines for any of the distros through the GH Action anyways, so, it is up to the end-user to check the documentation of each distro.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread __tests__/distributors/microsoft-installer.test.ts
'https://aka.ms/download-jdk/microsoft-jdk-17.0.1.12.1-{{OS_TYPE}}-x64.{{ARCHIVE_TYPE}}'
],
[
'16.0.x',

@brunoborges brunoborges Dec 1, 2021

Copy link
Copy Markdown
Contributor

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.

Given 16 is not an LTS release of MS Build of OpenJDK, I think we should not list it here.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@brendandburns brendandburns Dec 1, 2021

Copy link
Copy Markdown
Contributor Author

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.

as above, but if you feel strongly I will remove it.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@brunoborges brunoborges Dec 1, 2021

Copy link
Copy Markdown
Contributor

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.

No, it's fine. See previous comment.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread src/distributions/microsoft/installer.ts Outdated
fullVersion: [17, 0, 1, 12, 1]
},
{
majorVersion: 16,

@brunoborges brunoborges Dec 1, 2021

Copy link
Copy Markdown
Contributor

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.

See previous comments regarding making 16 available.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@brendandburns brendandburns Dec 1, 2021

Copy link
Copy Markdown
Contributor Author

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.

as above.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@brendandburns
brendandburns force-pushed the main branch from 73d6fdc to 68143e8 Compare December 1, 2021 18:16
@brendandburns

brendandburns commented Dec 1, 2021

Copy link
Copy Markdown
Contributor Author

Comments addressed, please re-check.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

dmitry-shibanov
dmitry-shibanov reviewed Dec 2, 2021
View reviewed changes
Comment thread __tests__/distributors/microsoft-installer.test.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread src/distributions/microsoft/installer.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread src/distributions/microsoft/installer.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread src/distributions/microsoft/models.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

@dmitry-shibanov

dmitry-shibanov commented Dec 2, 2021

Copy link
Copy Markdown
Contributor

Could you please revert the changes for package-lock.json and use these commands npm ci -> npm run build.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@brcrista

brcrista commented Dec 3, 2021

Copy link
Copy Markdown
Contributor

Looking at my fork, looks like there will be a couple more issues:

https://github.com/brcrista/setup-java/runs/4408213781?check_suite_focus=true#step:4:7

Found java version: __tests__/verify-java.sh: line 24: /c/hostedtoolcache/windows/Java_Microsoft_jdk/11.0.13/aarch64/bin/java: cannot execute binary file: Exec format error
Error: Unexpected version

Similar issue for Ubuntu as well.

@brendanburns if you want to allow edits from maintainers on this PR then we can push fixes for these issues

image

brunoborges reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@brendandburns
Add support for the microsoft distribution.
c3cb155
@brendandburns
brendandburns force-pushed the main branch from 68143e8 to c3cb155 Compare December 7, 2021 21:25
@brendandburns

brendandburns commented Dec 7, 2021

Copy link
Copy Markdown
Contributor Author

@dmitry-shibanov comments addressed.

@brcrista not sure where the aarch is coming from but it seems that actions doesn't support that architecture? I have ticked the "allow edits from maintainers" box, so any fixes or pointers would be great.

Thanks!

brcrista reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

dmitry-shibanov
dmitry-shibanov reviewed Dec 8, 2021
View reviewed changes
Comment thread .github/workflows/e2e-versions.yml Resolved

Uh oh!

There was an error while loading. Please reload this page.

brcrista added 5 commits December 8, 2021 12:51
@brcrista
revert lockfile changes
41cb4d7
@brcrista
npm run format
50297fe
@brcrista
fix e2e-versions.yml
bf48000
@brcrista
eliminate duplication in version numbers
ef8955b
@brcrista
Fix test
d2ec614
@brcrista brcrista mentioned this pull request Dec 8, 2021
Fix the Licensed workflow #259
Merged
2 tasks
brcrista
brcrista approved these changes Dec 8, 2021
View reviewed changes

@brcrista brcrista left a comment

Copy link
Copy Markdown
Contributor

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.

Looks like the Licensed workflow is failing, but that's not related to these changes https://github.com/actions/setup-java/actions/runs/1555484816

Thank you @brendanburns and @brunoborges, this is a huge help!

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

brunoborges reacted with hooray emoji
All reactions
  • 🎉 1 reaction
@brcrista
brcrista merged commit db2f350 into actions:main Dec 8, 2021
@brendandburns

brendandburns commented Dec 8, 2021

Copy link
Copy Markdown
Contributor Author

@brcrista thank you for your help getting this across the finish line!!

brunoborges reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@brunoborges

brunoborges commented Dec 8, 2021

Copy link
Copy Markdown
Contributor

Indeed, excited to see Microsoft's OpenJDK now on the Setup Java action!

sullis reacted with hooray emoji
All reactions
  • 🎉 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@ethomson

ethomson commented Dec 8, 2021

Copy link
Copy Markdown
Contributor

Thanks so much @brendanburns!

sullis reacted with hooray emoji
All reactions
  • 🎉 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@sullis

sullis commented Dec 12, 2021 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

I just tried using the Microsoft JDK in a GitHub Actions workflow. It did not work. My workflow uses 'setup-java@v2' and there hasn't been a release that incorporates the new Microsoft JDK code.

image

Can somebody tag a new release of setup-java?

cc: @ethomson @brendandburns @dmitry-shibanov

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@brunoborges

brunoborges commented Dec 12, 2021

Copy link
Copy Markdown
Contributor

@sullis you can reference the commit hash as a tag

brcrista reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@stephanprantl stephanprantl mentioned this pull request Feb 25, 2022
Bump actions/setup-java from 1 to 3.0.0 wrk-tafel/admin#63
Merged
@dmitry-shibanov dmitry-shibanov mentioned this pull request Mar 1, 2022
Microsoft OpenJDK 17 out of date #296
Closed
tdfacer pushed a commit to ifit/setup-java that referenced this pull request Oct 7, 2025
@brendandburns @brendanburns @brcrista
Add microsoft distribution of the JDK. (actions#252)
a48f89a
* Add microsoft distribution of the JDK.

* Fix formatting to match prettier.

* Rebuild js.

* Fix archive suffix for Windows.

* Update src/distributions/microsoft/installer.ts

Co-authored-by: Brian Cristante <[email protected]>

* Update src/distributions/microsoft/installer.ts

Co-authored-by: Brian Cristante <[email protected]>

* Add support for the microsoft distribution.

* revert lockfile changes

* npm run format

* fix e2e-versions.yml

* eliminate duplication in version numbers

* Fix test

Co-authored-by: Brendan Burns <[email protected]>
Co-authored-by: Brian Cristante <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@brunoborges brunoborges brunoborges left review comments
+3 more reviewers
@dmitry-shibanov dmitry-shibanov dmitry-shibanov left review comments
@dikehtaw dikehtaw dikehtaw approved these changes
@brcrista brcrista brcrista approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

8 participants

@brendandburns @brunoborges @ethomson @dmitry-shibanov @brcrista @sullis @dikehtaw @brendanburns
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.