diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5383bc8db..3e94afdc8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -5,7 +5,6 @@ on: branches: [ "master", "feature/cli-installer-v2" ] # should change once we have a stable branch pull_request: branches: [ "master", "feature/cli-installer-v2" ] - jobs: call-tests: uses: ./.github/workflows/tests.yml diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 1116fcc3d..9ec48251d 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -26,6 +26,7 @@ env: E2E_PRODUCT_01_ID: ${{ secrets.E2E_PRODUCT_01_ID }} E2E_PRODUCT_01_NAME: ${{ secrets.E2E_PRODUCT_01_NAME }} E2E_USERNAME: ${{ secrets.E2E_USERNAME }} + jobs: unit-test: runs-on: ${{ matrix.os }} diff --git a/installer/unix/install-cli b/installer/unix/install-cli index 1bfacb270..22ccfb30c 100644 --- a/installer/unix/install-cli +++ b/installer/unix/install-cli @@ -41,7 +41,13 @@ esac PROCESSOR=$(uname -m) case $PROCESSOR in x86_64) - ARCH="amd64" + ARCH="x64" + ;; + aarch64) + ARCH="arm64" + ;; + arm64) + ARCH="arm64" ;; arm*) ARCH="arm" diff --git a/package.json b/package.json index 8822de127..1af8b41d3 100644 --- a/package.json +++ b/package.json @@ -169,7 +169,8 @@ "node16-macos-x64", "node16-macos-arm64", "node16-win-x64", - "node16-linux-arm" + "node16-linux-arm", + "node16-linux-arm64" ], "assets": [ "./assets/**", diff --git a/scripts/generate-manifest.js b/scripts/generate-manifest.js index 1aaddf411..52ba8ca1d 100644 --- a/scripts/generate-manifest.js +++ b/scripts/generate-manifest.js @@ -29,9 +29,6 @@ function parseFilename(filename) { if (parts.length > 3) { arch = parts[3].split('.')[0]; } - if (arch?.includes('arm')) { - arch = 'arm'; - } return { platform: platformMap[parts[2]] || parts[2], arch: arch // Removing file extension if present