Use sh instead of bash

Signed-off-by: Álvaro Mondéjar Rubio <mondejar1994@gmail.com>
This commit is contained in:
Álvaro Mondéjar Rubio 2025-05-18 14:01:53 +02:00 committed by GitHub
parent efd23df685
commit 07b23b5ff7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -9,7 +9,7 @@ runs:
shell: sh shell: sh
run: | run: |
set -eu set -eu
curl --retry 10 -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh | bash curl --retry 10 -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh | sh
- name: Install cargo-binstall - name: Install cargo-binstall
if: runner.os == 'Windows' 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 run: Set-ExecutionPolicy Unrestricted -Scope Process; iex (iwr "https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.ps1").Content