Skip to content

Commit 297b5d0

Browse files
Cache ios build
1 parent b1e4bb6 commit 297b5d0

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

.github/workflows/e2e-tests.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,11 @@ jobs:
224224
restore-keys: |
225225
${{ runner.os }}-yarn-
226226
227+
- uses: irgaly/xcode-cache@v1
228+
with:
229+
key: xcode-cache-deriveddata-${{ github.workflow }}-${{ github.sha }}
230+
restore-keys: xcode-cache-deriveddata-${{ github.workflow }}-
231+
227232
- name: CocoaPods cache
228233
uses: actions/cache@v4
229234
with:
@@ -235,18 +240,18 @@ jobs:
235240
- name: Install Dependencies
236241
run: yarn bootstrap
237242

238-
- name: Install Maestro CLI
239-
run: |
240-
curl -Ls "https://get.maestro.mobile.dev" | bash
241-
echo "${HOME}/.maestro/bin" >> $GITHUB_PATH
242-
243243
- name: Build iOS App
244244
env:
245245
NEW_ARCH_ENABLED: ${{ env.NEW_ARCH_ENABLED }}
246246
RCT_NEW_ARCH_ENABLED: ${{ env.RCT_NEW_ARCH_ENABLED }}
247247
run: |
248248
yarn run-example-ios:release
249249
250+
- name: Install Maestro CLI
251+
run: |
252+
curl -Ls "https://get.maestro.mobile.dev" | bash
253+
echo "${HOME}/.maestro/bin" >> $GITHUB_PATH
254+
250255
- name: Run tests
251256
id: ios_tests
252257
run: |

0 commit comments

Comments
 (0)