From 62474c592c80f4f8afc328e0cc17d589dafe6f50 Mon Sep 17 00:00:00 2001 From: YoloMao Date: Thu, 22 Feb 2024 13:19:06 +0800 Subject: [PATCH] ci(oc): run xcode-select on visionOS platform only --- .github/workflows/test_objectivec.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test_objectivec.yml b/.github/workflows/test_objectivec.yml index e8391396a1..8ad0e56823 100644 --- a/.github/workflows/test_objectivec.yml +++ b/.github/workflows/test_objectivec.yml @@ -72,9 +72,8 @@ jobs: CONFIGURATION: ["Debug", "Release"] include: - OS: macos-12 - - XCODE: Xcode_14.1 - - PLATFORM: "visionos" - OS: macos-14 + - OS: macos-14 + PLATFORM: "visionos" XCODE: Xcode_15.2 name: CocoaPods ${{ matrix.PLATFORM }} ${{ matrix.CONFIGURATION }} runs-on: ${{ matrix.OS }} @@ -84,6 +83,7 @@ jobs: with: ref: ${{ inputs.safe-checkout }} - name: Xcode version + if: matrix.OS == 'macos-14' run: sudo xcode-select -switch /Applications/${{ matrix.XCODE }}.app - name: Pod lib lint uses: protocolbuffers/protobuf-ci/bash@v2