@@ -107,53 +107,4 @@ jobs:
107107 env :
108108 JAVA_OPTS : " -XX:MaxHeapSize=6g"
109109 run : |
110- yarn turbo run build:android --cache-dir="${{ env.TURBO_CACHE_DIR }}"
111-
112- build-ios :
113- runs-on : macos-latest
114- env :
115- XCODE_VERSION : 16.2
116- TURBO_CACHE_DIR : .turbo/ios
117- steps :
118- - name : Checkout
119- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
120-
121- - name : Setup
122- uses : ./.github/actions/setup
123-
124- - name : Generate nitrogen code
125- run : yarn nitrogen
126-
127- - name : Cache turborepo for iOS
128- uses : actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
129- with :
130- path : ${{ env.TURBO_CACHE_DIR }}
131- key : ${{ runner.os }}-turborepo-ios-${{ hashFiles('yarn.lock') }}
132- restore-keys : |
133- ${{ runner.os }}-turborepo-ios-
134-
135- - name : Check turborepo cache for iOS
136- run : |
137- TURBO_CACHE_STATUS=$(node -p "($(yarn turbo run build:ios --cache-dir="${{ env.TURBO_CACHE_DIR }}" --dry=json)).tasks.find(t => t.task === 'build:ios').cache.status")
138-
139- if [[ $TURBO_CACHE_STATUS == "HIT" ]]; then
140- echo "turbo_cache_hit=1" >> $GITHUB_ENV
141- fi
142-
143- - name : Use appropriate Xcode version
144- if : env.turbo_cache_hit != 1
145- uses : maxim-lobanov/setup-xcode@60606e260d2fc5762a71e64e74b2174e8ea3c8bd # v1.6.0
146- with :
147- xcode-version : ${{ env.XCODE_VERSION }}
148-
149- - name : Install cocoapods
150- if : env.turbo_cache_hit != 1 && steps.cocoapods-cache.outputs.cache-hit != 'true'
151- run : |
152- cd example
153- bundle install
154- bundle exec pod repo update --verbose
155- bundle exec pod install --project-directory=ios
156-
157- - name : Build example for iOS
158- run : |
159- yarn turbo run build:ios --cache-dir="${{ env.TURBO_CACHE_DIR }}"
110+ yarn turbo run build:android --cache-dir="${{ env.TURBO_CACHE_DIR }}"
0 commit comments