From 80b72637e2f91223c77fa110465f0c15f2bf2603 Mon Sep 17 00:00:00 2001 From: morguldir Date: Fri, 13 Sep 2024 05:09:10 +0200 Subject: [PATCH] ci: enable cachix after restoring the cache Signed-off-by: morguldir --- .github/workflows/ci.yml | 24 ++++++++++++------------ .github/workflows/documentation.yml | 12 ++++++------ 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ffa3dbff..3e024c48 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -87,12 +87,6 @@ jobs: - uses: nixbuild/nix-quick-install-action@v28 - - name: Enable Cachix binary cache - run: | - nix profile install nixpkgs#cachix - cachix use crane - cachix use nix-community - - name: Restore and cache Nix store uses: nix-community/cache-nix-action@v5.1.0 with: @@ -114,6 +108,12 @@ jobs: # always save the cache save-always: true + - name: Enable Cachix binary cache + run: | + nix profile install nixpkgs#cachix + cachix use crane + cachix use nix-community + - name: Apply Nix binary cache configuration run: | sudo tee -a "${XDG_CONFIG_HOME:-$HOME/.config}/nix/nix.conf" > /dev/null < /dev/null < /dev/null <