浏览代码

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