mirror of
https://github.com/actions/setup-java.git
synced 2025-03-13 09:37:03 +00:00
fix error message for ea version
This commit is contained in:
parent
49b34f3f12
commit
4f4e294286
2 changed files with 2 additions and 2 deletions
2
dist/setup/index.js
vendored
2
dist/setup/index.js
vendored
|
@ -13887,7 +13887,7 @@ class MicrosoftDistributions extends base_installer_1.JavaBase {
|
||||||
throw new Error(`Unsupported architecture: ${this.architecture}`);
|
throw new Error(`Unsupported architecture: ${this.architecture}`);
|
||||||
}
|
}
|
||||||
if (!this.stable) {
|
if (!this.stable) {
|
||||||
throw new Error('Unstable versions are not supported');
|
throw new Error('Early access versions are not supported');
|
||||||
}
|
}
|
||||||
const availableVersionsRaw = yield this.getAvailableVersions();
|
const availableVersionsRaw = yield this.getAvailableVersions();
|
||||||
const opts = this.getPlatformOption();
|
const opts = this.getPlatformOption();
|
||||||
|
|
|
@ -42,7 +42,7 @@ export class MicrosoftDistributions extends JavaBase {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!this.stable) {
|
if (!this.stable) {
|
||||||
throw new Error('Unstable versions are not supported');
|
throw new Error('Early access versions are not supported');
|
||||||
}
|
}
|
||||||
|
|
||||||
const availableVersionsRaw = await this.getAvailableVersions();
|
const availableVersionsRaw = await this.getAvailableVersions();
|
||||||
|
|
Loading…
Add table
Reference in a new issue