mirror of
https://github.com/actions/setup-java.git
synced 2025-04-20 09:56:46 +00:00
updated code to provide aarch64 for arm64 architecture for semeru
This commit is contained in:
parent
6c3405c2ba
commit
e206e742c5
2 changed files with 7 additions and 4 deletions
5
dist/setup/index.js
vendored
5
dist/setup/index.js
vendored
|
@ -124940,7 +124940,8 @@ class SemeruDistribution extends base_installer_1.JavaBase {
|
|||
}
|
||||
findPackageForDownload(version) {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
if (!supportedArchitectures.includes(this.architecture)) {
|
||||
const arch = this.distributionArchitecture();
|
||||
if (!supportedArchitectures.includes(arch)) {
|
||||
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) {
|
||||
|
@ -125000,7 +125001,7 @@ class SemeruDistribution extends base_installer_1.JavaBase {
|
|||
getAvailableVersions() {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
const platform = this.getPlatformOption();
|
||||
const arch = this.architecture;
|
||||
const arch = this.distributionArchitecture();
|
||||
const imageType = this.packageType;
|
||||
const versionRange = encodeURI('[1.0,100.0]'); // retrieve all available versions
|
||||
const releaseType = this.stable ? 'ga' : 'ea';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue