From fc0221e5db807cd5b675040697ff8f9727a9d1da Mon Sep 17 00:00:00 2001 From: Nick Groenen Date: Sat, 3 Aug 2024 11:57:41 +0200 Subject: [PATCH] Use cargo-bins/cargo-binstall action instead of manual download --- .github/actions/cargo-binstall/action.yaml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/actions/cargo-binstall/action.yaml b/.github/actions/cargo-binstall/action.yaml index 604fc3b..4bd0e6f 100644 --- a/.github/actions/cargo-binstall/action.yaml +++ b/.github/actions/cargo-binstall/action.yaml @@ -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 }}