From 8f8abf97013e1dc97b30bdd5bd4b9972137189e7 Mon Sep 17 00:00:00 2001 From: Nick Cooke <36927374+ncooke3@users.noreply.github.com> Date: Thu, 22 Jan 2026 20:35:02 -0500 Subject: [PATCH] fix: skip builds earlier in _cocoapods.yml, when applicable --- .github/workflows/_cocoapods.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/_cocoapods.yml b/.github/workflows/_cocoapods.yml index 68640b2e74a..9c9dd759b15 100644 --- a/.github/workflows/_cocoapods.yml +++ b/.github/workflows/_cocoapods.yml @@ -140,6 +140,10 @@ jobs: platform: iOS runs-on: ${{ matrix.os }} steps: + - name: Skip, if applicable. + # Skip matrix combinations that weren't requested, while preserving the specific macos-14 / iOS inclusion. + if: contains(join(inputs.platforms), matrix.platform) == false && matrix.os != 'macos-14' + run: exit 0 - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 - uses: ruby/setup-ruby@354a1ad156761f5ee2b7b13fa8e09943a5e8d252 # v1 - name: Setup Bundler