1
1
mirror of https://github.com/nmattia/niv.git synced 2024-11-07 22:36:53 +03:00

Don't fail on cache failure

This commit is contained in:
Nicolas Mattia 2019-02-11 21:22:10 +01:00
parent 72e7720454
commit 8eccea34c4

View File

@ -38,7 +38,7 @@ jobs:
echo "Cache size:"
du -h ~/.niv-cache.gz
echo "Loading cache..."
zcat ~/.niv-cache.gz | nix-store --import
zcat ~/.niv-cache.gz | nix-store --import || true
echo "Deleting cache file..."
rm ~/.niv-cache.gz
echo "done"
@ -53,7 +53,7 @@ jobs:
echo "Cache size:"
du -h ~/.niv-cache-branch.gz
echo "Loading cache..."
zcat ~/.niv-cache-branch.gz | nix-store --import
zcat ~/.niv-cache-branch.gz | nix-store --import || true
echo "Deleting cache file..."
rm ~/.niv-cache-branch.gz
echo "done"