From 3ecf835b50064f604940af5c48c8d138c0ee7dd8 Mon Sep 17 00:00:00 2001 From: Matthias Ahouansou Date: Thu, 2 May 2024 09:53:53 +0100 Subject: [PATCH] ci: cache attic on artifacts job --- .gitlab-ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3aecebf6..7347931d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -45,13 +45,13 @@ before_script: # Set CARGO_HOME to a cacheable path - export CARGO_HOME="$(git rev-parse --show-toplevel)/.gitlab-ci.d/cargo" + # Cache attic client + - ./bin/nix-build-and-cache --inputs-from . attic + ci: stage: ci image: nixos/nix:2.20.4 script: - # Cache attic client - - ./bin/nix-build-and-cache --inputs-from . attic - # Cache the inputs required for the devShell - ./bin/nix-build-and-cache .#devShells.x86_64-linux.default.inputDerivation