Skip to content

Commit 24a1d36

Browse files
authored
ci: do not use shared derived data between different xcodes (#1295)
## 📜 Description Use separate derived cache for separate xcode versions. ## 💡 Motivation and Context A fix for #1274 We speed up a build for XCode 16.4, but fabric build consumed XCode 16.4 Derived Data and it was slowing down it significantly. In this PR we start to manage separate build caches (as it was originally intended). ## 📢 Changelog <!-- High level overview of important changes --> <!-- For example: fixed status bar manipulation; added new types declarations; --> <!-- If your changes don't affect one of platform/language below - then remove this platform/language --> ### CI - use proper key for restoring derived data to take XCode version into consideration. ## 🤔 How Has This Been Tested? Tested via this PR. ## 📸 Screenshots (if appropriate): <img width="1521" height="869" alt="image" src="https://github.com/user-attachments/assets/4dcd4f23-e37d-4888-8560-9eafc1535448" /> ## 📝 Checklist - [x] CI successfully passed - [x] I added new mocks and corresponding unit-tests if library API was changed
1 parent 167a000 commit 24a1d36

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/ios-e2e-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,9 @@ jobs:
9393
uses: actions/cache@v5
9494
with:
9595
path: example/ios/build
96-
key: ${{ runner.os }}-e2e-derived-data-${{ hashFiles('**/Podfile.lock', '**/Gemfile.lock', '**/package.json', '**/yarn.lock') }}-xcode-${{ matrix.config.xcode }}
96+
key: ${{ runner.os }}-e2e-derived-data-xcode-${{ matrix.config.xcode }}-${{ hashFiles('**/Podfile.lock', '**/Gemfile.lock', '**/package.json', '**/yarn.lock') }}
9797
restore-keys: |
98-
${{ runner.os }}-e2e-derived-data-
98+
${{ runner.os }}-e2e-derived-data-xcode-${{ matrix.config.xcode }}-
9999
- name: Build app
100100
working-directory: e2e
101101
run: yarn build-example:ios

0 commit comments

Comments
 (0)