File tree Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Original file line number Diff line number Diff line change @@ -119,26 +119,8 @@ jobs:
119
119
steps :
120
120
- uses : actions/checkout@v2
121
121
122
- - name : Cleanup pre-installed Rust toolchains
123
- # The pre-installed toolchain is under root permission, and this would
124
- # make tarball fail to extract. Here we remove the symlink and install
125
- # our own Rust toolchain if necessary.
126
- run : |
127
- which rustup
128
- which cargo
129
- if [[ -L "$HOME/.cargo" && -L "$HOME/.rustup" ]]; then
130
- rm -v "$HOME/.rustup"
131
- rm -v "$HOME/.cargo"
132
- fi
133
- echo "$HOME/.cargo/bin" >> $GITHUB_PATH
134
-
135
122
- name : Install ${{ matrix.rust }} Rust
136
123
run : |
137
- if [[ ! -d "$HOME/.cargo" || ! -d "$HOME/.rustup" ]]; then
138
- curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs > rustup-init.sh
139
- sh rustup-init.sh -y --default-toolchain none
140
- fi
141
- rustup set profile minimal
142
124
rustup update ${{ matrix.rust }}
143
125
rustup default ${{ matrix.rust }}
144
126
You can’t perform that action at this time.
0 commit comments