From 55ecd6765b4374e0713102ab67602a829dcb6b6a Mon Sep 17 00:00:00 2001 From: matinzd Date: Tue, 8 Aug 2023 17:03:17 +0200 Subject: [PATCH] fix: switching xcode versions --- .github/workflows/ios-build.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ios-build.yml b/.github/workflows/ios-build.yml index c6886d8d..024d99a9 100644 --- a/.github/workflows/ios-build.yml +++ b/.github/workflows/ios-build.yml @@ -12,13 +12,19 @@ on: jobs: build-and-test: - runs-on: macos-latest + runs-on: macos-12 strategy: matrix: - xcode-version: [13.3, latest] + xcode-version: [13.3.1, 14.2] steps: + - name: List all available XCode versions + run: ls -n /Applications/ | grep Xcode* + + - name: Switch XCode Version + run: sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode-version }}.app/Contents/Developer + - name: Checkout Repository uses: actions/checkout@v2