From eac17b60b695db030aa3448abfb198b7658d50ca Mon Sep 17 00:00:00 2001 From: Andrei Dziahel Date: Sun, 3 Dec 2023 18:48:36 +0100 Subject: [PATCH] ci: setup-nix: cache miss on action change --- .github/actions/setup-nix/action.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/setup-nix/action.yaml b/.github/actions/setup-nix/action.yaml index 706bc0a92c..c4051cf798 100644 --- a/.github/actions/setup-nix/action.yaml +++ b/.github/actions/setup-nix/action.yaml @@ -20,7 +20,7 @@ runs: - name: Restore and cache Nix store uses: nix-community/cache-nix-action@v4.0.3 with: - key: cache-nix-${{ runner.os }}-id-${{ inputs.cache-id }}-${{ hashFiles('nix/**/*.nix') }} + key: cache-nix-${{ runner.os }}-id-${{ inputs.cache-id }}-${{ hashFiles('nix/**/*.nix', '.github/actions/setup-nix/*') }} restore-keys: | cache-nix-${{ runner.os }}-id- - uses: cachix/cachix-action@v12