From 4fee5275b088ef3362ba4fd810007994480af37a Mon Sep 17 00:00:00 2001 From: Matt <1009003+tantaman@users.noreply.github.com> Date: Thu, 29 Jun 2023 11:49:30 -0400 Subject: [PATCH] get rustup on msys? --- .github/workflows/c-tests.yaml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/c-tests.yaml b/.github/workflows/c-tests.yaml index fa31f9c67..fb6d66762 100644 --- a/.github/workflows/c-tests.yaml +++ b/.github/workflows/c-tests.yaml @@ -26,16 +26,12 @@ jobs: path: ./ load-mode: strict - - name: Rust Nightly - if: runner.os != 'Windows' - run: | - rustup default nightly - rustup update - - name: Rust Nightly Win if: runner.os == 'Windows' shell: msys2 {0} run: | + curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs > foo.sh + ./foo.sh -y rustup default nightly rustup update