Skip to content

Commit

Permalink
fix(swift5): workaround: use xcode 14.2 to deploy on cocoapods
Browse files Browse the repository at this point in the history
  • Loading branch information
ThibaultBee committed Jun 5, 2024
1 parent 425728e commit e479a3a
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 8 deletions.
4 changes: 2 additions & 2 deletions templates/swift5/statics/client/.github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,14 @@ jobs:
cocoapods:
name: Verify cocopods podspec
needs: [ build-xcodebuild ]
runs-on: macos-latest
runs-on: macos-13

steps:
- name: Checkout
uses: actions/checkout@v3
- 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
8 changes: 6 additions & 2 deletions templates/swift5/statics/client/.github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions templates/swift5/statics/uploader/.github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,14 @@ jobs:
cocoapods:
name: Verify cocopods podspec
needs: [ build-xcodebuild ]
runs-on: macos-latest
runs-on: macos-13

steps:
- name: Checkout
uses: actions/checkout@v3
- 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
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit e479a3a

Please sign in to comment.