mirror of
https://github.com/actions/setup-java.git
synced 2026-10-16 08:21:32 +00:00
Remove legacy Adopt distributions in v6 (#1185)
* Initial plan * Remove legacy Adopt distributions Co-authored-by: Copilot App <[email protected]> --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: Bruno Borges <[email protected]> Co-authored-by: Copilot App <[email protected]>
This commit is contained in:
@@ -117,6 +117,15 @@ describe('getJavaDistribution', () => {
|
||||
).toBeNull();
|
||||
});
|
||||
|
||||
it.each(['adopt', 'adopt-hotspot', 'adopt-openj9'])(
|
||||
'does not support legacy Adopt distribution %s',
|
||||
async distributionName => {
|
||||
expect(
|
||||
await getJavaDistribution(distributionName, installerOptions('jdk'))
|
||||
).toBeNull();
|
||||
}
|
||||
);
|
||||
|
||||
it.each([
|
||||
['amd64', 'x64'],
|
||||
['ia32', 'x86'],
|
||||
|
||||
Reference in New Issue
Block a user