mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-06-15 15:16:37 +00:00
Setup dev drive for cargo/rust home
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
This commit is contained in:
parent
e55c4282cb
commit
13b9cca34c
1 changed files with 10 additions and 1 deletions
11
.github/actions/just-setup/action.yml
vendored
11
.github/actions/just-setup/action.yml
vendored
|
@ -21,11 +21,20 @@ runs:
|
||||||
- name: Enable macOS developer mode for better performance
|
- name: Enable macOS developer mode for better performance
|
||||||
run: sudo spctl developer-mode enable-terminal
|
run: sudo spctl developer-mode enable-terminal
|
||||||
if: runner.os == 'macOS'
|
if: runner.os == 'macOS'
|
||||||
|
|
||||||
|
- uses: samypr100/setup-dev-drive@v3
|
||||||
|
if: runner.os == 'Windows'
|
||||||
|
with:
|
||||||
|
drive-type: Fixed
|
||||||
|
drive-size: 2GB
|
||||||
|
env-mapping: |
|
||||||
|
CARGO_HOME,{{ DEV_DRIVE }}/.cargo
|
||||||
|
RUSTUP_HOME,{{ DEV_DRIVE }}/.rustup
|
||||||
- uses: samypr100/setup-dev-drive@v3
|
- uses: samypr100/setup-dev-drive@v3
|
||||||
if: runner.os == 'Windows'
|
if: runner.os == 'Windows'
|
||||||
with:
|
with:
|
||||||
mount-path: ${{ github.workspace }}/target
|
mount-path: ${{ github.workspace }}/target
|
||||||
drive-size: 5GB
|
drive-size: 3GB
|
||||||
drive-type: Fixed
|
drive-type: Fixed
|
||||||
|
|
||||||
- name: Add just to tools to install
|
- name: Add just to tools to install
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue