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}}