Skip to content

Commit

Permalink
.github: Fixate cargo-binstall version
Browse files Browse the repository at this point in the history
  • Loading branch information
joaoantoniocardoso committed Nov 4, 2024
1 parent c1d718a commit d2af3ed
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,13 @@ jobs:
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
- name: Install build dependencies - Cargo-Binstall
uses: cargo-bins/cargo-binstall@main
if: runner.os != 'Windows'
shell: sh
run: curl -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh | bash
- name: Install build dependencies - Cargo-Binstall
if: runner.os == 'Windows'
run: Set-ExecutionPolicy Unrestricted -Scope Process; iex (iwr "https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.ps1").Content
shell: powershell

- name: Install build dependencies - Cross, Trunk
run: cargo binstall -y trunk cross
Expand Down

0 comments on commit d2af3ed

Please sign in to comment.