Skip to content

Commit e6831a2

Browse files
author
Alex J Lennon
committed
CI: ignore App Intents metadata processor in Swift warning check
Only fail on actual Swift/clang compiler warnings; exclude appintentsmetadataprocessor "Metadata extraction skipped" log line.
1 parent 045d1e7 commit e6831a2

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/ios-build.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -175,11 +175,12 @@ jobs:
175175
if: success()
176176
run: |
177177
echo "⚠️ Checking for Swift compiler warnings..."
178-
if grep -i "warning:" build.log; then
179-
echo "❌ Build produced Swift warnings (zero warnings required)"
178+
# Ignore non-compiler warnings (e.g. App Intents metadata processor)
179+
if grep -i "warning:" build.log | grep -v "appintentsmetadataprocessor" | grep -v "Metadata extraction skipped"; then
180+
echo "❌ Build produced Swift compiler warnings (zero warnings required)"
180181
exit 1
181182
fi
182-
echo "✅ No Swift warnings"
183+
echo "✅ No Swift compiler warnings"
183184
184185
- name: Build Summary
185186
if: always()

0 commit comments

Comments
 (0)