Skip to content

Commit 80ceec3

Browse files
asomersfabianfreyer
authored andcommitted
Fix cargo cache in cirrus-ci
$CARGO_HOME isn't ready early enough
1 parent f421c19 commit 80ceec3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.cirrus.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ task:
88
curl https://sh.rustup.rs -sSf | sh -s -- -y
99
. $HOME/.cargo/env
1010
cargo_cache:
11-
folder: $CARGO_HOME/registry
11+
folder: $HOME/.cargo/registry
1212
build_script: env PATH="$HOME/.cargo/bin:$PATH" cargo build
1313
test_script: env PATH="$HOME/.cargo/bin:$PATH" cargo test
14-
before_cache_script: rm -rf $CARGO_HOME/registry/index
14+
before_cache_script: rm -rf $HOME/.cargo/registry/index

0 commit comments

Comments
 (0)