瀏覽代碼

CI: Switch to included Xcode 14 Beta

derrod 3 年之前
父節點
當前提交
b7df5d2e15
共有 1 個文件被更改,包括 2 次插入4 次删除
  1. 2 4
      .github/workflows/main.yml

+ 2 - 4
.github/workflows/main.yml

@@ -80,7 +80,6 @@ jobs:
       BLOCKED_FORMULAS: 'speexdsp curl php composer'
       CODESIGN_IDENT: '-'
       HAVE_CODESIGN_IDENTITY: ${{ secrets.MACOS_SIGNING_IDENTITY != '' && secrets.MACOS_SIGNING_CERT != '' }}
-      HAVE_XCODE_URL: ${{ secrets.XCODE_DOWNLOAD_URL != '' }}
     defaults:
       run:
         shell: bash
@@ -156,9 +155,8 @@ jobs:
 
           echo "::set-output name=commitHash::$(git rev-parse --short=9 HEAD)"
 
-      - name: 'Install Xcode 14 Beta'
-        if: ${{ startsWith(github.ref, 'refs/tags/') && github.event_name != 'pull_request' && env.HAVE_CODESIGN_IDENTITY == 'true' && env.HAVE_XCODE_URL == 'true' }}
-        run: xcversion install "14 beta 4" --url=${{ secrets.XCODE_DOWNLOAD_URL }}
+      - name: 'Switch to Xcode 14 Beta'
+        run: sudo xcode-select -switch /Applications/Xcode_14.0.app
 
       - name: 'Install dependencies'
         env: