ci: only cache attic when nix is available

This commit is contained in:
Matthias Ahouansou 2024-05-05 09:01:40 +01:00
parent d97f5aa3b8
commit 358164f49d
No known key found for this signature in database

View file

@ -50,7 +50,7 @@ before_script:
- export CARGO_HOME="$(git rev-parse --show-toplevel)/.gitlab-ci.d/cargo"
# Cache attic client
- ./bin/nix-build-and-cache --inputs-from . attic
- if command -v nix > /dev/null; then ./bin/nix-build-and-cache --inputs-from . attic; fi
ci:
stage: ci