diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 303742d47..06b4d3d4b 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -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 @@ -21,4 +25,5 @@ jobs: - name: Run tests env: DESTINATION: platform=${{ matrix.destination }} + XCODE_VERSION: ${{ matrix.xcode }} run: bundle exec fastlane test_ci diff --git a/fastlane/Fastfile b/fastlane/Fastfile index 47aeb6f28..22136f967 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -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|