Skip to content

Commit

Permalink
fix: ignore src changes
Browse files Browse the repository at this point in the history
  • Loading branch information
deemp committed Aug 27, 2023
1 parent cb623b3 commit e613487
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,6 @@ jobs:
with:
files: |
.github/workflows/ci.yaml
src/**
make-similar-caches:
name: Make similar caches
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit e613487

Please sign in to comment.