Skip to content

Commit

Permalink
Fix install rust
Browse files Browse the repository at this point in the history
  • Loading branch information
frisoft committed May 24, 2024
1 parent d5ad64b commit 11529ef
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,12 @@ jobs:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v3
- name: Install Rust
- name: Install Rust for Intel
if: matrix.target == 'x86_64-unknown-linux-gnu' || matrix.target == 'x86_64-apple-darwin' || matrix.target == 'x86_64-pc-windows-msvc'
run: rustup update stable && rustup default stable
- name: Install Rust for ARM64
if: matrix.target == 'aarch64-apple-darwin'
run: rustup set profile minimal && rustup target add aarch64-apple-darwin && rustup toolchain install stable-aarch64-apple-darwin
- name: Install cargo-dist
run: ${{ matrix.install-dist }}
- name: Run cargo-dist
Expand Down

0 comments on commit 11529ef

Please sign in to comment.