Skip to content

Commit

Permalink
Set Xcode version matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
onevcat committed Apr 20, 2024
1 parent bbca0cb commit 17c5b5a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ jobs:
'tvOS Simulator,name=Apple TV',
'watchOS Simulator,name=Apple Watch Series 8 (41mm)'
]
xcode: [
'15.2',
'15.3'
]
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
Expand All @@ -21,4 +25,5 @@ jobs:
- name: Run tests
env:
DESTINATION: platform=${{ matrix.destination }}
XCODE_VERSION: ${{ matrix.xcode }}
run: bundle exec fastlane test_ci
3 changes: 2 additions & 1 deletion fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,8 @@ platform :ios do
end

before_all do |lane|
xcodes(version: "15.2", select_for_current_build_only: true)
xcode_version = ENV["XCODE_VERSION"] || "15.3"
xcodes(version: xcode_version, select_for_current_build_only: true)
end

after_all do |lane|
Expand Down

0 comments on commit 17c5b5a

Please sign in to comment.