mirror of
https://github.com/actions/setup-java.git
synced 2026-07-09 06:35:45 +00:00
Compare commits
2 Commits
515257f3da
...
4776457db0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4776457db0 | ||
|
|
4caaa522a7 |
18
.github/workflows/e2e-versions.yml
vendored
18
.github/workflows/e2e-versions.yml
vendored
@ -136,7 +136,14 @@ jobs:
|
||||
matrix:
|
||||
os: [macos-latest, windows-latest, ubuntu-latest]
|
||||
distribution:
|
||||
['temurin', 'zulu', 'liberica', 'dragonwell', 'sapmachine', 'jetbrains']
|
||||
[
|
||||
'temurin',
|
||||
'zulu',
|
||||
'liberica',
|
||||
'dragonwell',
|
||||
'sapmachine',
|
||||
'jetbrains'
|
||||
]
|
||||
exclude:
|
||||
- distribution: dragonwell
|
||||
os: macos-latest
|
||||
@ -163,7 +170,14 @@ jobs:
|
||||
matrix:
|
||||
os: [macos-latest, windows-latest, ubuntu-latest]
|
||||
distribution:
|
||||
['temurin', 'zulu', 'liberica', 'dragonwell', 'sapmachine', 'jetbrains']
|
||||
[
|
||||
'temurin',
|
||||
'zulu',
|
||||
'liberica',
|
||||
'dragonwell',
|
||||
'sapmachine',
|
||||
'jetbrains'
|
||||
]
|
||||
exclude:
|
||||
- distribution: dragonwell
|
||||
os: macos-latest
|
||||
|
||||
8598
dist/setup/index.js
vendored
8598
dist/setup/index.js
vendored
File diff suppressed because it is too large
Load Diff
@ -122,7 +122,7 @@ export class JetBrainsDistribution extends JavaBase {
|
||||
page_index++;
|
||||
}
|
||||
|
||||
const versions = rawVersions.map(v => {
|
||||
const versions0 = rawVersions.map(v => {
|
||||
// Release tags look like one of these:
|
||||
// jbr-release-21.0.3b465.3
|
||||
// jb11_0_11-b87.7
|
||||
@ -161,6 +161,11 @@ export class JetBrainsDistribution extends JavaBase {
|
||||
} as IJetBrainsVersion;
|
||||
});
|
||||
|
||||
const versions = versions0.filter(async i => {
|
||||
const res = await this.http.head(i.url);
|
||||
return res.message.statusCode === 200;
|
||||
});
|
||||
|
||||
if (core.isDebug()) {
|
||||
core.startGroup('Print information about available versions');
|
||||
console.timeEnd('Retrieving available versions for JBR took'); // eslint-disable-line no-console
|
||||
|
||||
Loading…
Reference in New Issue
Block a user