Skip to content

Commit 0b6d9d8

Browse files
committed
Remove target/debug/incremental/ before caching on CI
For some reason, incremental files are changing on CI even when no code changes. Dropping them from the cache to see if that helps.
1 parent 3248b4d commit 0b6d9d8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

script/ci/prune-cache.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,8 @@ for name in $bin_names; do
2525
rm -v target/debug/deps/$normalized-*
2626
done
2727

28+
echo "Removing target/debug/incremental/"
29+
rm -rf target/debug/incremental/
30+
2831
echo "Final cache size:"
2932
du -hs target/debug

0 commit comments

Comments
 (0)