Do not fail on cargo update failures
This commit is contained in:
parent
56789146f4
commit
84cbef87d0
1 changed files with 1 additions and 5 deletions
|
@ -114,13 +114,9 @@ if [[ -z $NORUST ]]; then
|
||||||
"$RUSTUP_TEMP" -y
|
"$RUSTUP_TEMP" -y
|
||||||
rm -f "$RUSTUP_TEMP"
|
rm -f "$RUSTUP_TEMP"
|
||||||
|
|
||||||
set +e
|
|
||||||
rustup update
|
rustup update
|
||||||
set -e
|
|
||||||
rustup install stable
|
rustup install stable
|
||||||
set +e
|
|
||||||
rustup install nightly
|
rustup install nightly
|
||||||
set -e
|
|
||||||
rustup default stable
|
rustup default stable
|
||||||
|
|
||||||
rustup component add rls --toolchain stable
|
rustup component add rls --toolchain stable
|
||||||
|
@ -147,8 +143,8 @@ if [[ -z $NORUST ]]; then
|
||||||
|
|
||||||
set +e
|
set +e
|
||||||
cargo install-update -a
|
cargo install-update -a
|
||||||
set -e
|
|
||||||
rustup run nightly cargo install-update -a
|
rustup run nightly cargo install-update -a
|
||||||
|
set -e
|
||||||
fi
|
fi
|
||||||
|
|
||||||
set +e
|
set +e
|
||||||
|
|
Loading…
Reference in a new issue