Skip to content

Commit f76d64c

Browse files
committed
ci: attempt fix ci build ios
1 parent 1efdfc3 commit f76d64c

1 file changed

Lines changed: 9 additions & 11 deletions

File tree

.github/workflows/ci.yml

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -133,10 +133,10 @@ jobs:
133133
echo "turbo_cache_hit=1" >> $GITHUB_ENV
134134
fi
135135
136-
- name: Restore cocoapods
136+
- name: Cache cocoapods
137137
if: env.turbo_cache_hit != 1
138138
id: cocoapods-cache
139-
uses: actions/cache/restore@v4
139+
uses: actions/cache@v4
140140
with:
141141
path: |
142142
**/ios/Pods
@@ -152,14 +152,12 @@ jobs:
152152
env:
153153
NO_FLIPPER: 1
154154

155-
- name: Cache cocoapods
156-
if: env.turbo_cache_hit != 1 && steps.cocoapods-cache.outputs.cache-hit != 'true'
157-
uses: actions/cache/save@v4
158-
with:
159-
path: |
160-
**/ios/Pods
161-
key: ${{ steps.cocoapods-cache.outputs.cache-key }}
162-
163155
- name: Build example for iOS
164156
run: |
165-
yarn turbo run build:ios --cache-dir="${{ env.TURBO_CACHE_DIR }}"
157+
yarn turbo run build:ios --cache-dir="${{ env.TURBO_CACHE_DIR }}" 2>&1 | grep -i error > ios_errorlog.txt
158+
159+
- name: Upload iOS error log
160+
uses: actions/upload-artifact@v4
161+
with:
162+
name: ios-error-log
163+
path: ios_errorlog.txt

0 commit comments

Comments
 (0)