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"
|
using: "composite"
|
||||||
steps:
|
steps:
|
||||||
- name: Install cargo-binstall
|
- name: Install cargo-binstall
|
||||||
shell: bash
|
uses: cargo-bins/cargo-binstall@main
|
||||||
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
|
|
||||||
|
|
||||||
- name: Install cargo bins
|
- name: Install cargo bins
|
||||||
shell: bash
|
shell: bash
|
||||||
run: >
|
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