Skip to content

Commit

Permalink
Experiment: copy .rustup to dev drive
Browse files Browse the repository at this point in the history
  • Loading branch information
mkeeter committed Jun 8, 2024
1 parent 6997a89 commit dd14804
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit dd14804

Please sign in to comment.