From 5731b8d4d8472f4d3f9f139a10a3c22ef4ef0f39 Mon Sep 17 00:00:00 2001 From: NinjaCheetah <58050615+NinjaCheetah@users.noreply.github.com> Date: Wed, 19 Mar 2025 19:18:17 -0400 Subject: [PATCH] Double fix Actions macOS cross compile --- .github/workflows/rust.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 1e7f07a..18cb931 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -41,12 +41,12 @@ jobs: - name: Update Toolchain run: rustup update - name: Add ARM64 Target - run: rustup toolchain install aarch64-apple-darwin + run: rustup target add aarch64-apple-darwin - name: Build rustii run: cargo build --verbose --release --target aarch64-apple-darwin - name: Package rustii for Upload run: | - mv target/release/rustii ~/rustii + mv target/aarch64-apple-darwin/release/rustii ~/rustii cd ~ tar cvf rustii.tar rustii - name: Upload rustii @@ -69,7 +69,7 @@ jobs: run: cargo build --verbose --release --target x86_64-apple-darwin - name: Package rustii for Upload run: | - mv target/release/rustii ~/rustii + mv target/x86_64-apple-darwin/release/rustii ~/rustii cd ~ tar cvf rustii.tar rustii - name: Upload rustii