Merge branch 'only-cache-attic-when-nix' into 'next'

ci: only cache attic when nix is available

See merge request famedly/conduit!666
This commit is contained in:
Matthias Ahouansou 2024-05-05 08:19:15 +00:00
commit 6b669d2f4d

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