diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4a9688a..ef0cbee 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,10 +28,10 @@ jobs: echo android=true >> "$GITHUB_OUTPUT" exit 0 fi - git diff --name-only --no-renames HEAD^1 HEAD > "$RUNNER_TEMP/changed" + git -c core.quotePath=false diff --name-only --no-renames HEAD^1 HEAD > "$RUNNER_TEMP/changed" shared='^(src/|example/src/|example/[^/]+$|package\.json$|pnpm-lock\.yaml$|pnpm-workspace\.yaml$|\.nvmrc$|\.github/workflows/ci\.yml$|\.github/actions/)' matches() { grep -qE "$shared|$1" "$RUNNER_TEMP/changed" && echo true || echo false; } - echo "ios=$(matches '^(ios/|example/ios/|[^/]+\.podspec$)')" >> "$GITHUB_OUTPUT" + echo "ios=$(matches '^(ios/|example/ios/|example/\.bundle/|[^/]+\.podspec$)')" >> "$GITHUB_OUTPUT" echo "android=$(matches '^(android/|example/android/)')" >> "$GITHUB_OUTPUT" check: runs-on: ubuntu-latest @@ -96,5 +96,5 @@ jobs: -scheme ReservedRegionsExample -configuration Debug -sdk iphonesimulator -destination 'generic/platform=iOS Simulator' -derivedDataPath build CODE_SIGNING_ALLOWED=NO - COMPILATION_CACHE_ENABLE_CACHING=YES build + COMPILATION_CACHE_ENABLE_CACHING=YES COMPILATION_CACHE_LIMIT_SIZE=1G build working-directory: example