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
|
||||
|
||||
# Run build
|
||||
- name: Install Rustup using win.rustup.rs
|
||||
- name: Update Rustup
|
||||
run: |
|
||||
# disable download progress bar
|
||||
$ProgressPreference = "SilentlyContinue"
|
||||
Invoke-WebRequest https://win.rustup.rs/ -OutFile rustup-init.exe
|
||||
.\rustup-init.exe -y --default-host=x86_64-pc-windows-msvc --default-toolchain=none
|
||||
del rustup-init.exe
|
||||
rustup update
|
||||
rustup target add ${{ matrix.target }}
|
||||
shell: powershell
|
||||
|
||||
|
|
Loading…
Reference in New Issue