Compare commits

..

2 Commits

Author SHA1 Message Date
Gregory Mitchell
4776457db0
Fix Format, Inaccessible URLs 2024-11-07 13:42:41 +00:00
Gregory Mitchell
4caaa522a7
npm run format 2024-11-07 13:42:27 +00:00
3 changed files with 4323 additions and 4300 deletions

View File

@ -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

File diff suppressed because it is too large Load Diff

View File

@ -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