Skip to content

Commit 8ac3549

Browse files
committed
Fix: do not rebuild ninja when building playground
1 parent b123655 commit 8ac3549

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -401,6 +401,14 @@ jobs:
401401
# path: ./tests/benchmark-cache
402402
# key: syntax-benchmark-v1
403403

404+
# Prevent ninja being rebuilt on playground build step
405+
- name: Touch ninja/ninja
406+
if: ${{ matrix.build_playground && steps.ninja-build-cache.outputs.cache-hit == 'true' }}
407+
run: |
408+
ls -l ninja/ninja${{ runner.os == 'Windows' && '.exe' || '' }}
409+
touch ninja/ninja${{ runner.os == 'Windows' && '.exe' || '' }}
410+
ls -l ninja/ninja${{ runner.os == 'Windows' && '.exe' || '' }}
411+
404412
- name: Build playground compiler
405413
if: matrix.build_playground
406414
run: opam exec -- make playground

0 commit comments

Comments
 (0)