Skip to content

Commit aaadca7

Browse files
author
Luca Forstner
committed
ci: Different build caches for matrix
1 parent e3fc9ee commit aaadca7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/checks.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,9 +179,9 @@ jobs:
179179
uses: actions/cache@v3
180180
with:
181181
path: .nxcache
182-
key: build-cache-key-${{ runner.os }}-${{ github.run_id }}
182+
key: build-cache-key-${{ runner.os }}-${{ matrix.target }}-${{ matrix.jobIndex }}-${{ github.run_id }}
183183
restore-keys: |
184-
build-cache-key-${{ runner.os }}-
184+
build-cache-key-${{ runner.os }}-${{ matrix.target }}-${{ matrix.jobIndex }}-
185185
- name: Install dependencies
186186
run: yarn --frozen-lockfile --ignore-engines
187187
if: steps.dependency-cache.outputs.cache-hit != 'true'

0 commit comments

Comments
 (0)