Skip to content

Commit 06dee26

Browse files
committed
Fix
1 parent e45fffd commit 06dee26

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -294,8 +294,8 @@ jobs:
294294
id: ninja-build-cache
295295
uses: actions/cache@v4
296296
with:
297-
path: packages/@rescript/${{ matrix.node-target }}/bin/ninja.exe
298-
key: ninja-build-v1-${{ matrix.os }}-${{ hashFiles('ninja/src/**') }}
297+
path: ninja/ninja${{ runner.os == 'Windows' && '.exe' || '' }}
298+
key: ninja-build-v2-${{ matrix.os }}-${{ hashFiles('ninja/src/**') }}
299299

300300
- name: Setup Python for ninja build
301301
if: steps.ninja-build-cache.outputs.cache-hit != 'true'
@@ -320,7 +320,6 @@ jobs:
320320
run: node scripts/buildNinjaBinary.js
321321

322322
- name: Copy ninja exe to platform bin dir
323-
if: steps.ninja-build-cache.outputs.cache-hit != 'true'
324323
run: node scripts/copyExes.js --ninja
325324

326325
- name: "Syntax: Run tests"

0 commit comments

Comments
 (0)