diff --git a/.github/workflows/ios.yml b/.github/workflows/ios.yml index e90eb1d..5c11ed1 100644 --- a/.github/workflows/ios.yml +++ b/.github/workflows/ios.yml @@ -52,10 +52,10 @@ jobs: -skipPackagePluginValidation \ -skipMacroValidation # OTHER_SWIFT_FLAGS="-warnings-as-errors" Conflicting options '-warnings-as-errors' and '-suppress-warnings' - profdata_file_path=$(find . -path "*.build-test-debug/Build/ProfileData*Coverage.profdata" -type f) + profdata_file_path=$(find . -path "./.build-test-debug/Build/ProfileData/*/Coverage.profdata" -type f) xcrun llvm-cov show \ -instr-profile=$profdata_file_path \ - .build-test-debug/Build/Products/Debug/OpenGraphTests.xctest/Contents/MacOS/OpenGraphTests \ + .build-test-debug/Build/Products/Debug-iphonesimulator/OpenGraphTests.xctest/OpenGraphTests \ > coverage.txt - uses: codecov/codecov-action@v3 with: