Use cargo-bins/cargo-binstall action instead of manual download
This commit is contained in:
parent
e47d06e627
commit
fc0221e5db
6
.github/actions/cargo-binstall/action.yaml
vendored
6
.github/actions/cargo-binstall/action.yaml
vendored
@ -8,11 +8,9 @@ runs:
|
||||
using: "composite"
|
||||
steps:
|
||||
- name: Install cargo-binstall
|
||||
shell: bash
|
||||
run: >
|
||||
curl -L --proto '=https' --tlsv1.3 -sSf https://github.com/cargo-bins/cargo-binstall/releases/latest/download/cargo-binstall-x86_64-unknown-linux-musl.tgz | sudo tar -xzv -C /usr/bin
|
||||
uses: cargo-bins/cargo-binstall@main
|
||||
|
||||
- name: Install cargo bins
|
||||
shell: bash
|
||||
run: >
|
||||
cargo-binstall --no-confirm --min-tls-version 1.3 ${{ inputs.binstall }}
|
||||
cargo-binstall --no-confirm --min-tls-version 1.3 --force ${{ inputs.binstall }}
|
||||
|
Loading…
Reference in New Issue
Block a user