ci: only cache attic when nix is available
This commit is contained in:
parent
d97f5aa3b8
commit
358164f49d
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ before_script:
|
||||||
- export CARGO_HOME="$(git rev-parse --show-toplevel)/.gitlab-ci.d/cargo"
|
- export CARGO_HOME="$(git rev-parse --show-toplevel)/.gitlab-ci.d/cargo"
|
||||||
|
|
||||||
# Cache attic client
|
# 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:
|
ci:
|
||||||
stage: ci
|
stage: ci
|
||||||
|
|
Loading…
Reference in a new issue