From 1c33774990747d41727f4791b52f7cbfeca4c635 Mon Sep 17 00:00:00 2001 From: Riccardo Cipolleschi Date: Mon, 11 Aug 2025 08:07:43 -0700 Subject: [PATCH] Remove setup-xcode-build-cache action (#53177) Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/53177 This action is used only when running tests for RNTester. Now that we are using prebuilds, this is a liability, because Cocoapods and Xcode would not update the binary if a new one is provided. With prebuild, this caching does not provide a lot of benefits, so we can remove it. ## Changelog [Internal] - Reviewed By: cortinico Differential Revision: D79893870 fbshipit-source-id: 0773f910f418cf9ebd5d557d563160993084e83a --- .../setup-xcode-build-cache/action.yml | 32 ------------------- .github/actions/test-ios-rntester/action.yml | 7 ---- 2 files changed, 39 deletions(-) delete mode 100644 .github/actions/setup-xcode-build-cache/action.yml diff --git a/.github/actions/setup-xcode-build-cache/action.yml b/.github/actions/setup-xcode-build-cache/action.yml deleted file mode 100644 index 5d2187b0694..00000000000 --- a/.github/actions/setup-xcode-build-cache/action.yml +++ /dev/null @@ -1,32 +0,0 @@ -name: setup-xcode-build-cache -description: Add caching to iOS jobs to speed up builds -inputs: - hermes-version: - description: The version of hermes - required: true - flavor: - description: The flavor that is going to be built - default: Debug - use-frameworks: - description: Whether we are bulding with DynamicFrameworks or StaticLibraries - default: StaticLibraries - ruby-version: - description: The ruby version we are going to use - default: 2.6.10 - -runs: - using: composite - steps: - - name: See commands.yml with_xcodebuild_cache - shell: bash - run: echo "See commands.yml with_xcodebuild_cache" - - name: Cache podfile lock - uses: actions/cache@v4 - with: - path: packages/rn-tester/Podfile.lock - key: v13-podfilelock-${{ github.job }}-NewArch-${{ inputs.flavor }}-${{ inputs.use-frameworks }}-${{ inputs.ruby-version }}-${{ hashfiles('packages/rn-tester/Podfile') }}-${{ inputs.hermes-version }} - - name: Cache cocoapods - uses: actions/cache@v4 - with: - path: packages/rn-tester/Pods - key: v15-cocoapods-${{ github.job }}-NewArch-${{ inputs.flavor }}-${{ inputs.use-frameworks }}-${{ inputs.ruby-version }}-${{ hashfiles('packages/rn-tester/Podfile.lock') }}-${{ hashfiles('packages/rn-tester/Podfile') }}-${{ inputs.hermes-version}} diff --git a/.github/actions/test-ios-rntester/action.yml b/.github/actions/test-ios-rntester/action.yml index b9f5676e18e..b54e4a36c6e 100644 --- a/.github/actions/test-ios-rntester/action.yml +++ b/.github/actions/test-ios-rntester/action.yml @@ -102,13 +102,6 @@ runs: - name: Print ReactCore folder shell: bash run: ls -lR /tmp/ReactCore - - name: Setup xcode build cache - uses: ./.github/actions/setup-xcode-build-cache - with: - hermes-version: ${{ inputs.hermes-version }} - use-frameworks: ${{ inputs.use-frameworks }} - flavor: ${{ inputs.flavor }} - ruby-version: ${{ inputs.ruby-version }} - name: Install CocoaPods dependencies shell: bash run: |