From 20c7b61e7a302d51c08429e6e46a3ac31b649048 Mon Sep 17 00:00:00 2001 From: Jiahao XU <Jiahao_XU@outlook.com> Date: Fri, 5 Aug 2022 20:30:03 +1000 Subject: [PATCH] FIx `ci-scripts/tests.sh`: Use `--force` to force installation. Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com> --- ci-scripts/tests.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ci-scripts/tests.sh b/ci-scripts/tests.sh index 8bb7bd3c..41d10b59 100755 --- a/ci-scripts/tests.sh +++ b/ci-scripts/tests.sh @@ -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 \