Skip to content

Commit 08444eb

Browse files
authored
Merge pull request #2298 from lzutao/win64-rust-docs
Remove hack as Actions doesn't install rust-docs
2 parents abd57fb + 96e60d3 commit 08444eb

File tree

4 files changed

+4
-20
lines changed

4 files changed

+4
-20
lines changed

.github/workflows/windows-builds-on-master.yaml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -87,11 +87,7 @@ jobs:
8787
del rustup-init.exe
8888
shell: powershell
8989
- 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.
92-
run: |
93-
rustup component remove rust-docs || echo "already removed"
94-
rustup update stable
90+
run: rustup update stable
9591
shell: bash
9692
- name: Install the target
9793
run: |

.github/workflows/windows-builds-on-pr.yaml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -84,11 +84,7 @@ jobs:
8484
del rustup-init.exe
8585
shell: powershell
8686
- 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.
89-
run: |
90-
rustup component remove rust-docs || echo "already removed"
91-
rustup update stable
87+
run: rustup update stable
9288
shell: bash
9389
- name: Install the target
9490
run: |

.github/workflows/windows-builds-on-stable.yaml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -87,11 +87,7 @@ jobs:
8787
del rustup-init.exe
8888
shell: powershell
8989
- 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.
92-
run: |
93-
rustup component remove rust-docs || echo "already removed"
94-
rustup update stable
90+
run: rustup update stable
9591
shell: bash
9692
- name: Install the target
9793
run: |

ci/actions-templates/windows-builds-template.yaml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -95,11 +95,7 @@ jobs:
9595
del rustup-init.exe
9696
shell: powershell
9797
- 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.
100-
run: |
101-
rustup component remove rust-docs || echo "already removed"
102-
rustup update stable
98+
run: rustup update stable
10399
shell: bash
104100
- name: Install the target
105101
run: |

0 commit comments

Comments
 (0)