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