Double fix Actions macOS cross compile

This commit is contained in:
Campbell 2025-03-19 19:18:17 -04:00 committed by GitHub
parent d7dbaca479
commit 5731b8d4d8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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