From e61348702bea818c278778827d9c7d2afe37a5f7 Mon Sep 17 00:00:00 2001 From: Danila Danko Date: Sun, 27 Aug 2023 17:58:38 +0500 Subject: [PATCH] fix: ignore src changes --- .github/workflows/ci.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 75d7741f..0216c6c8 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -159,7 +159,6 @@ jobs: with: files: | .github/workflows/ci.yaml - src/** make-similar-caches: name: Make similar caches @@ -191,8 +190,8 @@ jobs: uses: ./. with: # save a new cache every time ci file changes - key: similar-cache-${{ matrix.os }}-id-${{ matrix.id }}-${{ hashFiles('.github/workflows/ci.yaml', 'src/**/*') }} - restore-keys: similar-cache-${{ matrix.os }}-common-${{ hashFiles('.github/workflows/ci.yaml', 'src/**/*') }} + key: similar-cache-${{ matrix.os }}-id-${{ matrix.id }}-${{ hashFiles('.github/workflows/ci.yaml') }} + restore-keys: similar-cache-${{ matrix.os }}-common-${{ hashFiles('.github/workflows/ci.yaml') }} restore-key-hit: true merge-similar-caches: