From 5d4607444edce10ba745450424a92716c37e47eb Mon Sep 17 00:00:00 2001 From: ThibaultBee Date: Wed, 5 Jun 2024 12:22:34 +0000 Subject: [PATCH] fix(swift5): workaround: use xcode 14.2 to deploy on cocoapods --- .github/workflows/build.yml | 4 ++-- .github/workflows/release.yml | 8 ++++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a4e5040..bdda1dd 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -50,7 +50,7 @@ jobs: cocoapods: name: Verify cocopods podspec needs: [ build-xcodebuild ] - runs-on: macos-latest + runs-on: macos-13 steps: - name: Checkout @@ -58,6 +58,6 @@ jobs: - name: xcode version uses: maxim-lobanov/setup-xcode@v1 with: - xcode-version: latest-stable + xcode-version: '14.2.0' - name: Verify cocoapods run: pod lib lint --allow-warnings diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8305544..e9717d5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -4,10 +4,14 @@ on: types: [published] jobs: deploy: - runs-on: macos-latest + runs-on: macos-13 steps: - uses: actions/checkout@v4 - + - name: xcode version + uses: maxim-lobanov/setup-xcode@v1 + with: + xcode-version: '14.2.0' + - name: Install Cocoapods run: gem install cocoapods