Преглед изворни кода

release: Fix Xcode version

世界 пре 1 година
родитељ
комит
0a922c6fe3
1 измењених фајлова са 6 додато и 2 уклоњено
  1. 6 2
      .github/workflows/build.yml

+ 6 - 2
.github/workflows/build.yml

@@ -390,8 +390,12 @@ jobs:
         uses: actions/setup-go@v5
         with:
           go-version: ^1.23
-      - name: Setup Xcode
-        if: matrix.if
+      - name: Setup Xcode stable
+        if: matrix.if && github.ref == 'refs/heads/main-next'
+        run: |-
+          sudo xcode-select -s /Applications/Xcode_16.1.app
+      - name: Setup Xcode beta
+        if: matrix.if && github.ref == 'refs/heads/dev-next'
         run: |-
           sudo xcode-select -s /Applications/Xcode_16.2.app
       - name: Set tag