diff --git a/dist/index.js b/dist/index.js index 82b6cd1..a8ee931 100644 --- a/dist/index.js +++ b/dist/index.js @@ -6752,7 +6752,7 @@ function mapArch() { return 'ppc64le'; case 'riscv64': return 'riscv64'; - case 's390': + case 's390x': return 's390x'; case 'arm': return 'armv7'; diff --git a/src/lib/release.ts b/src/lib/release.ts index 3569306..ff7526c 100644 --- a/src/lib/release.ts +++ b/src/lib/release.ts @@ -92,7 +92,7 @@ export function mapArch(): string { return 'ppc64le'; case 'riscv64': return 'riscv64'; - case 's390': + case 's390x': return 's390x'; case 'arm': return 'armv7'; @@ -104,4 +104,4 @@ export function mapArch(): string { export function getBinaryExtension(): string { const platform = mapPlatform(); return platform === 'windows' ? '.exe' : ''; -} \ No newline at end of file +}