From dd14804ebb3c08533f2e7384b6dd5650392ce207 Mon Sep 17 00:00:00 2001 From: Matt Keeter <matt.j.keeter@gmail.com> Date: Sat, 8 Jun 2024 10:00:14 -0400 Subject: [PATCH] Experiment: copy .rustup to dev drive --- .github/workflows/test.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5a46bc6d..bc9d9e7e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -43,11 +43,9 @@ jobs: - name: Copy repo to dev drive run: | Copy-Item -Path "${{ github.workspace }}" -Destination "${{ env.DEV_DRIVE }}/fidget" -Recurse - - name: Select Rust toolchain - env: - CARGO_HOME: ${{ env.DEV_DRIVE }}/.cargo - RUSTUP_HOME: ${{ env.DEV_DRIVE }}/.rustup - run: rustup default stable + - name: Copy Rust toolchain to dev drive + run: | + Copy-Item -Path "%USERPROFILE%/.rustup" -Destination "${{ env.DEV_DRIVE }}/.rustup" -Recurse - uses: Swatinem/rust-cache@v2 with: workspaces: ${{ env.DEV_DRIVE }}/fidget