Skip to content

Commit 11529ef

Browse files
committed
Fix install rust
1 parent d5ad64b commit 11529ef

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,12 @@ jobs:
7777
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7878
steps:
7979
- uses: actions/checkout@v3
80-
- name: Install Rust
80+
- name: Install Rust for Intel
81+
if: matrix.target == 'x86_64-unknown-linux-gnu' || matrix.target == 'x86_64-apple-darwin' || matrix.target == 'x86_64-pc-windows-msvc'
8182
run: rustup update stable && rustup default stable
83+
- name: Install Rust for ARM64
84+
if: matrix.target == 'aarch64-apple-darwin'
85+
run: rustup set profile minimal && rustup target add aarch64-apple-darwin && rustup toolchain install stable-aarch64-apple-darwin
8286
- name: Install cargo-dist
8387
run: ${{ matrix.install-dist }}
8488
- name: Run cargo-dist

0 commit comments

Comments
 (0)