mirror of
https://github.com/actions/setup-java.git
synced 2025-04-20 09:56:46 +00:00
Enhanced error message
This commit is contained in:
parent
207edb9c3f
commit
3c65de9d02
3 changed files with 3 additions and 3 deletions
2
dist/setup/index.js
vendored
2
dist/setup/index.js
vendored
|
@ -124940,7 +124940,7 @@ class SemeruDistribution extends base_installer_1.JavaBase {
|
|||
findPackageForDownload(version) {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
if (!supportedArchitectures.includes(this.architecture)) {
|
||||
throw new Error(`Unsupported architecture for IBM Semeru: ${this.architecture}, is not supported for IBM Semeru ${this.version} on your current OS version. Please refer to IBM Semeru documentation or support resources to verify compatibility with your OS.`);
|
||||
throw new Error(`Unsupported architecture: ${this.architecture} is not supported for IBM Semeru ${this.version} on your current OS version. Please refer to IBM Semeru documentation or support resources to verify compatibility with your OS.`);
|
||||
}
|
||||
if (!this.stable) {
|
||||
throw new Error('IBM Semeru does not provide builds for early access versions');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue