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.
This commit is contained in:
Lawrence Chen 2026-01-29 17:55:02 -08:00
parent 99c9baa2d4
commit 7c8ac4c887

View file

@ -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