Skip to content

Commit e201c1f

Browse files
committed
Regenerate Windows build templates
1 parent 2ca25c9 commit e201c1f

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,12 @@ 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.
9092
run: |
93+
rustup component remove rust-docs || echo "already removed"
9194
rustup update stable
95+
shell: bash
9296
- name: Install the target
9397
run: |
9498
rustup target install ${{ matrix.target }}

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,12 @@ 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.
8789
run: |
90+
rustup component remove rust-docs || echo "already removed"
8891
rustup update stable
92+
shell: bash
8993
- name: Install the target
9094
run: |
9195
rustup target install ${{ matrix.target }}

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,12 @@ 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.
9092
run: |
93+
rustup component remove rust-docs || echo "already removed"
9194
rustup update stable
95+
shell: bash
9296
- name: Install the target
9397
run: |
9498
rustup target install ${{ matrix.target }}

0 commit comments

Comments
 (0)