File tree Expand file tree Collapse file tree 3 files changed +6
-1
lines changed Expand file tree Collapse file tree 3 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 72
72
with :
73
73
github_token : " ${{ secrets.GITHUB_TOKEN }}"
74
74
- uses : actions/checkout@v2
75
+ - name : Self-update rustup
76
+ run : rustup self update
77
+ shell : bash
75
78
- name : Setup Rust toolchain
76
79
run : TARGET=${{ matrix.target }} sh ./ci/install-rust.sh
77
80
shell : bash
Original file line number Diff line number Diff line change 64
64
- target : i686-pc-windows-msvc
65
65
steps :
66
66
- uses : actions/checkout@v2
67
+ - name : Self-update rustup
68
+ run : rustup self update
69
+ shell : bash
67
70
- name : Setup Rust toolchain
68
71
run : TARGET=${{ matrix.target }} sh ./ci/install-rust.sh
69
72
shell : bash
Original file line number Diff line number Diff line change 12
12
fi
13
13
if [ " $OS " = " windows" ]; then
14
14
: " ${TARGET?The TARGET environment variable must be set.} "
15
- rustup self update
16
15
rustup set profile minimal
17
16
rustup update --force $toolchain -" $TARGET "
18
17
rustup default $toolchain -" $TARGET "
You can’t perform that action at this time.
0 commit comments