Rust already exists on the platform - update it instead (#1864)
Co-authored-by: Dave Belvedere <dave@protonmail.com>
This commit is contained in:
parent
a0fb1bf196
commit
29fb49b712
|
@ -284,13 +284,11 @@ jobs:
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
# Run build
|
# Run build
|
||||||
- name: Install Rustup using win.rustup.rs
|
- name: Update Rustup
|
||||||
run: |
|
run: |
|
||||||
# disable download progress bar
|
# disable download progress bar
|
||||||
$ProgressPreference = "SilentlyContinue"
|
$ProgressPreference = "SilentlyContinue"
|
||||||
Invoke-WebRequest https://win.rustup.rs/ -OutFile rustup-init.exe
|
rustup update
|
||||||
.\rustup-init.exe -y --default-host=x86_64-pc-windows-msvc --default-toolchain=none
|
|
||||||
del rustup-init.exe
|
|
||||||
rustup target add ${{ matrix.target }}
|
rustup target add ${{ matrix.target }}
|
||||||
shell: powershell
|
shell: powershell
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue