From d6a280d2b4c4a222589d09b12ef97a0d16626ed1 Mon Sep 17 00:00:00 2001 From: Daniel Hougaard <62331820+DanielHougaard@users.noreply.github.com> Date: Tue, 23 Jul 2024 11:49:03 +0200 Subject: [PATCH] Update build-binaries.yml --- .github/workflows/build-binaries.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-binaries.yml b/.github/workflows/build-binaries.yml index 84e61f2d05..6df44c5a3b 100644 --- a/.github/workflows/build-binaries.yml +++ b/.github/workflows/build-binaries.yml @@ -28,7 +28,9 @@ jobs: env: npm_config_arch: ${{ matrix.arch }} # Not doing this results in argon2 seemingly being built as x86_64 on arm64. - npm_config_build_from_source: true + + # Only set to true if matrix.arch == 'arm64' + npm_config_build_from_source: ${{ (matrix.arch == 'arm64') && 'true' || 'false' }} # Only relevant for arm64 linux builds TARGET_ARCH: arm64