Przeglądaj źródła

Revert "Keep only 15.2"

This reverts commit 575b579d1d05ca321d7ae21bdf512ffbfefaccb4.
onevcat 1 rok temu
rodzic
commit
dda962ca24
2 zmienionych plików z 7 dodań i 1 usunięć
  1. 5 0
      .github/workflows/build.yaml
  2. 2 1
      fastlane/Fastfile

+ 5 - 0
.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
@@ -22,4 +26,5 @@ jobs:
       - name: Run tests
         env:
           DESTINATION: platform=${{ matrix.destination }}
+          XCODE_VERSION: ${{ matrix.xcode }}
         run: bundle exec fastlane test_ci

+ 2 - 1
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|