File tree Expand file tree Collapse file tree 4 files changed +6
-5
lines changed Expand file tree Collapse file tree 4 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 1- env :
2- # Temporary fix for https://github.com/rust-lang/rustup/issues/2774.
3- RUSTUP_UPDATE_ROOT : " https://dev-static.rust-lang.org/rustup"
4-
51task :
62 name : stable x86_64-unknown-freebsd-11
73 freebsd_instance :
Original file line number Diff line number Diff line change 7272 with :
7373 github_token : " ${{ secrets.GITHUB_TOKEN }}"
7474 - uses : actions/checkout@v2
75+ - name : Self-update rustup
76+ run : rustup self update
77+ shell : bash
7578 - name : Setup Rust toolchain
7679 run : TARGET=${{ matrix.target }} sh ./ci/install-rust.sh
7780 shell : bash
Original file line number Diff line number Diff line change 6464 - target : i686-pc-windows-msvc
6565 steps :
6666 - uses : actions/checkout@v2
67+ - name : Self-update rustup
68+ run : rustup self update
69+ shell : bash
6770 - name : Setup Rust toolchain
6871 run : TARGET=${{ matrix.target }} sh ./ci/install-rust.sh
6972 shell : bash
Original file line number Diff line number Diff line change 1212fi
1313if [ " $OS " = " windows" ]; then
1414 : " ${TARGET?The TARGET environment variable must be set.} "
15- rustup self update
1615 rustup set profile minimal
1716 rustup update --force $toolchain -" $TARGET "
1817 rustup default $toolchain -" $TARGET "
You can’t perform that action at this time.
0 commit comments