From f6bec8e7f14f4b811db33eb26ddf14e07077c8f1 Mon Sep 17 00:00:00 2001 From: adilhusain-s Date: Wed, 11 Jan 2023 17:39:12 +0530 Subject: [PATCH] adding support for ppc64le arch --- dist/setup/index.js | 6 +++--- src/system.ts | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/dist/setup/index.js b/dist/setup/index.js index 40f31c5..0c7430b 100644 --- a/dist/setup/index.js +++ b/dist/setup/index.js @@ -63730,9 +63730,9 @@ function getArch(arch) { case 'x64': arch = 'amd64'; break; - // case 'ppc': - // arch = 'ppc64'; - // break; + case 'ppc64': + arch = 'ppc64le'; + break; case 'x32': arch = '386'; break; diff --git a/src/system.ts b/src/system.ts index 3164a21..14c8b43 100644 --- a/src/system.ts +++ b/src/system.ts @@ -24,9 +24,9 @@ export function getArch(arch: string): string { case 'x64': arch = 'amd64'; break; - // case 'ppc': - // arch = 'ppc64'; - // break; + case 'ppc64': + arch = 'ppc64le'; + break; case 'x32': arch = '386'; break;