From 92c17601b30e8ff8a15d3d28813f557ecf23503b Mon Sep 17 00:00:00 2001 From: Greg Guthe Date: Fri, 15 Mar 2024 14:43:14 -0400 Subject: [PATCH] disable rustup self update to work around 'rustup.exe" is not a valid subcommand' error for windows CI --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a64ecd5..a2d150c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -24,6 +24,6 @@ jobs: continue-on-error: ${{ matrix.toolchain == 'nightly' }} steps: - uses: actions/checkout@v3 - - run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }} + - run: rustup update --no-self-update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }} - run: cargo build --verbose - run: cargo test --verbose