File tree Expand file tree Collapse file tree 4 files changed +16
-0
lines changed Expand file tree Collapse file tree 4 files changed +16
-0
lines changed Original file line number Diff line number Diff line change 87
87
del rustup-init.exe
88
88
shell : powershell
89
89
- name : Ensure stable toolchain is up to date
90
+ # Remove `rust-docs` component since `rustup update` will remove and reinstall it
91
+ # which is slower than just remove it first anyway.
90
92
run : |
93
+ rustup component remove rust-docs || echo "already removed"
91
94
rustup update stable
95
+ shell : bash
92
96
- name : Install the target
93
97
run : |
94
98
rustup target install ${{ matrix.target }}
Original file line number Diff line number Diff line change 84
84
del rustup-init.exe
85
85
shell : powershell
86
86
- name : Ensure stable toolchain is up to date
87
+ # Remove `rust-docs` component since `rustup update` will remove and reinstall it
88
+ # which is slower than just remove it first anyway.
87
89
run : |
90
+ rustup component remove rust-docs || echo "already removed"
88
91
rustup update stable
92
+ shell : bash
89
93
- name : Install the target
90
94
run : |
91
95
rustup target install ${{ matrix.target }}
Original file line number Diff line number Diff line change 87
87
del rustup-init.exe
88
88
shell : powershell
89
89
- name : Ensure stable toolchain is up to date
90
+ # Remove `rust-docs` component since `rustup update` will remove and reinstall it
91
+ # which is slower than just remove it first anyway.
90
92
run : |
93
+ rustup component remove rust-docs || echo "already removed"
91
94
rustup update stable
95
+ shell : bash
92
96
- name : Install the target
93
97
run : |
94
98
rustup target install ${{ matrix.target }}
Original file line number Diff line number Diff line change 95
95
del rustup-init.exe
96
96
shell : powershell
97
97
- name : Ensure stable toolchain is up to date
98
+ # Remove `rust-docs` component since `rustup update` will remove and reinstall it
99
+ # which is slower than just remove it first anyway.
98
100
run : |
101
+ rustup component remove rust-docs || echo "already removed"
99
102
rustup update stable
103
+ shell : bash
100
104
- name : Install the target
101
105
run : |
102
106
rustup target install ${{ matrix.target }}
You can’t perform that action at this time.
0 commit comments