CI: Fix cargo cache (#7968)
* Fix cache Blocking waiting for file lock on the registry index * Only clean locked cargo cache on windows
This commit is contained in:
parent
3d6ede0c58
commit
217cdf5a3a
@ -48,6 +48,12 @@ set_env_win () {
|
|||||||
echo "@ signtool sign /f "\%"1 /p "\%"2 /tr http://timestamp.comodoca.com /du https://parity.io "\%"3" > sign.cmd
|
echo "@ signtool sign /f "\%"1 /p "\%"2 /tr http://timestamp.comodoca.com /du https://parity.io "\%"3" > sign.cmd
|
||||||
}
|
}
|
||||||
build () {
|
build () {
|
||||||
|
if [[ "windows" = $IDENT ]]
|
||||||
|
then
|
||||||
|
# This is a nasty hack till we figure out the proper cargo caching strategy
|
||||||
|
echo "Remove index"
|
||||||
|
rm -rf cargo/registry/index/*.
|
||||||
|
fi
|
||||||
echo "Build parity:"
|
echo "Build parity:"
|
||||||
cargo build --target $PLATFORM --features final --release
|
cargo build --target $PLATFORM --features final --release
|
||||||
echo "Build evmbin:"
|
echo "Build evmbin:"
|
||||||
|
Loading…
Reference in New Issue
Block a user