From 9c787518717f6761e0075dbc2d00ecf07faac07f Mon Sep 17 00:00:00 2001 From: Andrei Dziahel Date: Mon, 22 Jan 2024 16:12:36 +0100 Subject: [PATCH] ci: fix c-n-a input names --- .github/actions/setup-nix/action.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/actions/setup-nix/action.yaml b/.github/actions/setup-nix/action.yaml index 4675f3782c..6c4578359e 100644 --- a/.github/actions/setup-nix/action.yaml +++ b/.github/actions/setup-nix/action.yaml @@ -20,8 +20,8 @@ runs: - name: Restore and cache Nix store uses: nix-community/cache-nix-action@v5.0.1 with: - key: cache-nix-${{ runner.os }}-id-${{ inputs.cache-id }}-${{ hashFiles('nix/**/*.nix', '.github/actions/setup-nix/*') }} - restore-keys: | + primary-key: cache-nix-${{ runner.os }}-id-${{ inputs.cache-id }}-${{ hashFiles('nix/**/*.nix', '.github/actions/setup-nix/*') }} + restore-prefixes-first-match: | cache-nix-${{ runner.os }}-common- - uses: cachix/cachix-action@v14 with: