Rust already exists on the platform - update it instead (#1864)

Co-authored-by: Dave Belvedere <dave@protonmail.com>
This commit is contained in:
Dave Belvedere 2022-11-17 10:03:15 +10:00 committed by GitHub
parent a0fb1bf196
commit 29fb49b712
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 4 deletions

View File

@ -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