File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 23
23
- name : Checkout repository
24
24
uses : actions/checkout@v1
25
25
26
- - name : Cleanup Rust components (Windows)
26
+ # We need to disable the existing toolchain to avoid updating rust-docs
27
+ # which takes a long time. The fastest way to do this is to rename the
28
+ # existing folder, as deleting it takes about as much time as not doing
29
+ # anything and just updating rust-docs.
30
+ - name : Rename existing rust toolchain (Windows)
27
31
if : matrix.os == 'windows-latest'
28
- run : rustup component remove rust-docs
32
+ run : Rename-Item C:\Users\runneradmin\. rustup\toolchains\stable-x86_64-pc-windows-msvc C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc.old
29
33
30
34
- name : Install Rust toolchain
31
35
uses : actions-rs/toolchain@v1
You can’t perform that action at this time.
0 commit comments