mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-24 14:28:42 +00:00
Fix integration test: Set CARGO_HOME
instead of rm -rf $HOME/.cargo
The later would also delete the cmd `cargo`. Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
parent
cc92c2c4b6
commit
140d3df8bd
1 changed files with 3 additions and 3 deletions
6
.github/workflows/integration.yml
vendored
6
.github/workflows/integration.yml
vendored
|
@ -50,7 +50,7 @@ jobs:
|
|||
|
||||
- name: Test
|
||||
shell: bash
|
||||
run: |
|
||||
rm -rf "$HOME/.cargo"
|
||||
./ci-scripts/tests.sh ${{ matrix.bin }} ${{ runner.os }}
|
||||
run: ./ci-scripts/tests.sh ${{ matrix.bin }} ${{ runner.os }}
|
||||
env:
|
||||
CARGO_HOME: /tmp/cargo-home-for-test/
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue