diff --git a/.github/workflows/build-desktop.yml b/.github/workflows/build-desktop.yml index 2a4d462812d..96543feb23f 100644 --- a/.github/workflows/build-desktop.yml +++ b/.github/workflows/build-desktop.yml @@ -1401,8 +1401,10 @@ jobs: key: rust-${{ runner.os }}-${{ hashFiles('apps/desktop/desktop_native/**/*') }} - name: Build Native Module - 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 - name: Build if: steps.build-cache.outputs.cache-hit != 'true'