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