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