From 29fb49b712cfe7ef0aec9f05da0bf1ecad3bc8c7 Mon Sep 17 00:00:00 2001 From: Dave Belvedere <90095005+dbelv@users.noreply.github.com> Date: Thu, 17 Nov 2022 10:03:15 +1000 Subject: [PATCH] Rust already exists on the platform - update it instead (#1864) Co-authored-by: Dave Belvedere --- .github/workflows/ci.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 91d0133d..14281f96 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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