mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-06-15 15:16:37 +00:00
Use dev drive for target
which is the most write-heavy part. The read to the workspace can be cached as it is really small Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
This commit is contained in:
parent
8fcaf36eaf
commit
e55c4282cb
1 changed files with 2 additions and 5 deletions
7
.github/actions/just-setup/action.yml
vendored
7
.github/actions/just-setup/action.yml
vendored
|
@ -24,12 +24,9 @@ runs:
|
||||||
- uses: samypr100/setup-dev-drive@v3
|
- uses: samypr100/setup-dev-drive@v3
|
||||||
if: runner.os == 'Windows'
|
if: runner.os == 'Windows'
|
||||||
with:
|
with:
|
||||||
workspace-copy: true
|
mount-path: ${{ github.workspace }}/target
|
||||||
drive-size: 6GB
|
drive-size: 5GB
|
||||||
drive-type: Fixed
|
drive-type: Fixed
|
||||||
env-mapping: |
|
|
||||||
CARGO_HOME,{{ DEV_DRIVE }}/.cargo
|
|
||||||
RUSTUP_HOME,{{ DEV_DRIVE }}/.rustup
|
|
||||||
|
|
||||||
- name: Add just to tools to install
|
- name: Add just to tools to install
|
||||||
run: echo "tools=just" >>"$GITHUB_ENV"
|
run: echo "tools=just" >>"$GITHUB_ENV"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue