File tree Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change 77 - osx
88 - windows
99
10+ cache :
11+ directories :
12+ - $HOME/.cargo/bin/
13+
1014branches :
1115 # Don't build these branches
1216 except :
Original file line number Diff line number Diff line change 33
44cd " $( dirname " $0 " ) "
55
6+ cratesio_version=$( cargo search rustup-toolchain-install-master | grep -o " [0-9]\.[0-9]\.[0-9]" )
7+ rtim_version=$( rustup-toolchain-install-master --version | grep -o " [0-9]\.[0-9]\.[0-9]" )
8+
69if ! command -v rustup-toolchain-install-master > /dev/null; then
710 cargo install rustup-toolchain-install-master --debug
11+ else
12+ if [ $rtim_version != $cratesio_version ]; then
13+ cargo install rustup-toolchain-install-master --debug --force
14+ fi
815fi
916
1017RUSTC_HASH=$( git ls-remote https://github.com/rust-lang/rust.git master | awk ' {print $1}' )
You can’t perform that action at this time.
0 commit comments