about summary refs log tree commit diff
path: root/.github/workflows/build-submit-ios.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/build-submit-ios.yml')
-rw-r--r--.github/workflows/build-submit-ios.yml8
1 files changed, 6 insertions, 2 deletions
diff --git a/.github/workflows/build-submit-ios.yml b/.github/workflows/build-submit-ios.yml
index 0256e9687..c1693b814 100644
--- a/.github/workflows/build-submit-ios.yml
+++ b/.github/workflows/build-submit-ios.yml
@@ -47,6 +47,10 @@ jobs:
       - name: ⚙️ Install dependencies
         run: yarn install
 
+      - uses: maxim-lobanov/setup-xcode@v1
+        with:
+          xcode-version: '15.3'
+
       - name: ☕️ Setup Cocoapods
         uses: maxim-lobanov/setup-cocoapods@v1
         with:
@@ -80,11 +84,11 @@ jobs:
       - name: ⬇️ Restore Cache
         id: get-base-commit
         uses: actions/cache@v4
-        if: ${{ inputs.profile == 'testflight' && github.ref == 'refs/heads/main' }}
+        if: ${{ inputs.profile == 'testflight' }}
         with:
           path: most-recent-testflight-commit.txt
           key: most-recent-testflight-commit
 
       - name: ✏️ Write commit hash to cache
-        if: ${{ inputs.profile == 'testflight' && github.ref == 'refs/heads/main' }}
+        if: ${{ inputs.profile == 'testflight' }}
         run: echo ${{ github.sha }} > most-recent-testflight-commit.txt