Skip to content

Commit 38f00dc

Browse files
fix(ci): use find instead of glob for debug output
Replace bash glob pattern with find command for reliable recursive file matching without needing shopt -s globstar. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> Signed-off-by: JasonXuDeveloper - 傑 <jason@xgamedev.net>
1 parent 7586804 commit 38f00dc

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/pr-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ jobs:
106106
echo "Fixing coverage paths..."
107107
find coverage -name "*.xml" -exec sed -i 's|/github/workspace/||g' {} \;
108108
echo "Path fix complete. Sample paths after fix:"
109-
grep -h "fullPath=" coverage/**/TestCoverageResults*.xml | head -5 || true
109+
find coverage -name "TestCoverageResults*.xml" -exec grep -h "fullPath=" {} \; | head -5 || true
110110
111111
- name: Upload coverage to Codecov (util package)
112112
uses: codecov/codecov-action@v4

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ jobs:
188188
echo "Fixing coverage paths..."
189189
find coverage -name "*.xml" -exec sed -i 's|/github/workspace/||g' {} \;
190190
echo "Path fix complete. Sample paths after fix:"
191-
grep -h "fullPath=" coverage/**/TestCoverageResults*.xml | head -5 || true
191+
find coverage -name "TestCoverageResults*.xml" -exec grep -h "fullPath=" {} \; | head -5 || true
192192
193193
- name: Upload coverage to Codecov (util package)
194194
uses: codecov/codecov-action@v4

0 commit comments

Comments
 (0)