mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-06-15 07:06:36 +00:00
Enable dev drive on windows to speedup CI
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
This commit is contained in:
parent
52c1fcffca
commit
8fcaf36eaf
1 changed files with 10 additions and 0 deletions
10
.github/actions/just-setup/action.yml
vendored
10
.github/actions/just-setup/action.yml
vendored
|
@ -21,6 +21,16 @@ runs:
|
|||
- name: Enable macOS developer mode for better performance
|
||||
run: sudo spctl developer-mode enable-terminal
|
||||
if: runner.os == 'macOS'
|
||||
- uses: samypr100/setup-dev-drive@v3
|
||||
if: runner.os == 'Windows'
|
||||
with:
|
||||
workspace-copy: true
|
||||
drive-size: 6GB
|
||||
drive-type: Fixed
|
||||
env-mapping: |
|
||||
CARGO_HOME,{{ DEV_DRIVE }}/.cargo
|
||||
RUSTUP_HOME,{{ DEV_DRIVE }}/.rustup
|
||||
|
||||
- name: Add just to tools to install
|
||||
run: echo "tools=just" >>"$GITHUB_ENV"
|
||||
shell: bash
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue