From 7c8ac4c88775de9d44b1c1d2015f25aa06cb8da1 Mon Sep 17 00:00:00 2001 From: Lawrence Chen <54008264+lawrencecchen@users.noreply.github.com> Date: Thu, 29 Jan 2026 17:55:02 -0800 Subject: [PATCH] Fix CI build cache error by cleaning DerivedData Add a step to remove stale GhosttyTabs DerivedData before building to prevent the "cannot open constant extraction protocol list input file" error that occurs with incremental builds on self-hosted runners. --- .github/workflows/ci.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1751e3ce..6f2e0d61 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -50,6 +50,11 @@ jobs: cp -R ghostty/macos/GhosttyKit.xcframework GhosttyKit.xcframework test -d GhosttyKit.xcframework + - name: Clean DerivedData + run: | + # Remove stale build cache to avoid incremental build errors + rm -rf ~/Library/Developer/Xcode/DerivedData/GhosttyTabs-* + - name: Run UI tests run: | set -euo pipefail