From 4084aa1e3ca6cbdbb41b3bd839548be5ec55c261 Mon Sep 17 00:00:00 2001 From: francis2tm Date: Fri, 9 Feb 2024 14:47:11 +0000 Subject: [PATCH] fix: change rust targets for macos --- .github/workflows/build.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4e7a59f..63fb28a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -62,7 +62,12 @@ jobs: with: components: rustfmt - - name: "Add rust target" + - name: "Add rust target (macOS)" + if: matrix.runner == 'macos-latest' + run: rustup target add aarch64-apple-darwin + + - name: "Add rust target (Other)" + if: matrix.runner != 'macos-latest' run: rustup target add ${{ matrix.target }} - name: Install GUI frontend dependencies