Skip to content

Commit aa0e2ea

Browse files
committed
fix(ci): create the dev cache path before emptying it on a cache miss
1 parent 241b4c8 commit aa0e2ea

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎.github/workflows/checks.yml‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -604,7 +604,9 @@ jobs:
604604

605605
- name: Empty the dev cache
606606
if: steps.broken.outputs.key != ''
607-
run: find apps/sim/.next/dev -mindepth 1 -maxdepth 1 -exec rm -rf {} +
607+
run: |
608+
mkdir -p apps/sim/.next/dev
609+
find apps/sim/.next/dev -mindepth 1 -maxdepth 1 -exec rm -rf {} +
608610
609611
# Lint, audits, type-check and the schema sync check: about two minutes of mostly cached work,
610612
# kept off the test shards so neither waits on the other.

0 commit comments

Comments
 (0)