Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Loading