Skip to content

Commit d876239

Browse files
committed
Fix intel mac release
1 parent d4f83b7 commit d876239

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,10 @@ jobs:
5454
sudo apt-get install -y make g++ libssl-dev gcc-aarch64-linux-gnu
5555
rustup target add aarch64-unknown-linux-gnu
5656
57+
- name: Install Rust crosscompile target (macOS Intel)
58+
if: ${{ matrix.target == 'x86_64-apple-darwin' }}
59+
run: rustup target add x86_64-apple-darwin
60+
5761
- name: Cargo build
5862
run: cargo build --features=cli --release --target ${{ matrix.target }}
5963

0 commit comments

Comments
 (0)