Skip to content

Commit 82164ab

Browse files
committed
Fix iOS profdata path issue
1 parent 8fec2cc commit 82164ab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ios.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,10 @@ jobs:
5252
-skipPackagePluginValidation \
5353
-skipMacroValidation
5454
# OTHER_SWIFT_FLAGS="-warnings-as-errors" Conflicting options '-warnings-as-errors' and '-suppress-warnings'
55-
profdata_file_path=$(find . -path "*.build-test-debug/Build/ProfileData*Coverage.profdata" -type f)
55+
profdata_file_path=$(find . -path ".build-test-debug/Build/ProfileData/*/Coverage.profdata" -type f)
5656
xcrun llvm-cov show \
5757
-instr-profile=$profdata_file_path \
58-
.build-test-debug/Build/Products/Debug/OpenGraphTests.xctest/Contents/MacOS/OpenGraphTests \
58+
.build-test-debug/Build/Products/Debug-iphonesimulator/OpenGraphTests.xctest/OpenGraphTests \
5959
> coverage.txt
6060
- uses: codecov/codecov-action@v3
6161
with:

0 commit comments

Comments
 (0)