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 2323 - name : Checkout repository
2424 uses : actions/checkout@v1
2525
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)
2731 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
2933
3034 - name : Install Rust toolchain
3135 uses : actions-rs/toolchain@v1
You can’t perform that action at this time.
0 commit comments