From 2d552771a46505b92fc8bb99b83160c64e073c68 Mon Sep 17 00:00:00 2001 From: bitfl0wer Date: Wed, 15 May 2024 15:37:49 +0200 Subject: [PATCH] change how rustup and rust is installed on windows --- .github/workflows/cross-build.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/cross-build.yml b/.github/workflows/cross-build.yml index 735aec5..ed8b290 100644 --- a/.github/workflows/cross-build.yml +++ b/.github/workflows/cross-build.yml @@ -55,10 +55,11 @@ jobs: - name: Install Rust run: | - choco install rust-ms - echo "C:\Program Files\Rust stable GNU\bin" >> $GITHUB_PATH - rustup target add aarch64-pc-windows-msvc - rustup target add x86_64-pc-windows-gnu + choco install rustup.install + rustup install stable + rustup update stable + rustup default stable + rustup target add ${{ matrix.target }} - name: Build run: |