From bdf7547115ba81e4aca1cc7ef08f2f24417df1c8 Mon Sep 17 00:00:00 2001 From: Nathan Ansel Date: Tue, 4 Feb 2025 15:48:11 -0600 Subject: [PATCH] Forces native module build --- .github/workflows/build-desktop.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-desktop.yml b/.github/workflows/build-desktop.yml index 66bd7a852c0..7178412fb73 100644 --- a/.github/workflows/build-desktop.yml +++ b/.github/workflows/build-desktop.yml @@ -219,7 +219,7 @@ jobs: key: rust-${{ runner.os }}-${{ hashFiles('apps/desktop/desktop_native/**/*') }} - name: Build Native Module - if: steps.cache.outputs.cache-hit != 'true' + # if: steps.cache.outputs.cache-hit != 'true' working-directory: apps/desktop/desktop_native env: PKG_CONFIG_ALLOW_CROSS: true @@ -1385,9 +1385,13 @@ jobs: key: rust-${{ runner.os }}-${{ hashFiles('apps/desktop/desktop_native/**/*') }} - name: Build Native Module - if: steps.cache.outputs.cache-hit != 'true' - working-directory: apps/desktop/desktop_native - run: node build.js cross-platform + working-directory: apps/desktop/desktop_native + run: | + rustup target add aarch64-apple-darwin + node build.js cross-platform + # if: steps.cache.outputs.cache-hit != 'true' + # working-directory: apps/desktop/desktop_native + # run: node build.js cross-platform - name: Build if: steps.build-cache.outputs.cache-hit != 'true'