mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-20 12:38:43 +00:00
FIx ci-scripts/tests.sh
: Use --force
to force installation.
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
parent
34f714c64f
commit
20c7b61e7a
1 changed files with 2 additions and 1 deletions
|
@ -19,7 +19,7 @@ done
|
|||
cargo binstall --help >/dev/null
|
||||
|
||||
# Install binaries using `--manifest-path`
|
||||
"./$1" binstall --log-level debug --manifest-path . --no-confirm cargo-binstall
|
||||
"./$1" binstall --force --log-level debug --manifest-path . --no-confirm cargo-binstall
|
||||
# Test that the installed binaries can be run
|
||||
cargo binstall --help >/dev/null
|
||||
|
||||
|
@ -28,6 +28,7 @@ min_tls=1.3
|
|||
[[ "${2:-}" == "Windows" ]] && min_tls=1.2 # WinTLS on GHA doesn't support 1.3 yet
|
||||
|
||||
"./$1" binstall \
|
||||
--force \
|
||||
--log-level debug \
|
||||
--secure \
|
||||
--min-tls-version $min_tls \
|
||||
|
|
Loading…
Add table
Reference in a new issue