From 8bcedc68bbec76f64a34fda242b8a88e54fa4986 Mon Sep 17 00:00:00 2001 From: George Adams Date: Fri, 11 Mar 2022 16:54:56 +0000 Subject: [PATCH] gh: set correct xcode version in workflow --- .github/workflows/build.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 303fb36b2f..a51040698e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -112,10 +112,8 @@ jobs: java-version: 7 if: matrix.version == 'jdk8u' - - name: Select correct Xcode - run: | - rm -rf /Applications/Xcode.app - ln -s /Applications/Xcode_11.7.app /Applications/Xcode.app + - name: Select correct Xcode (11.7) + run: sudo sudo xcode-select --switch /Applications/Xcode_11.7.app - name: Build macOS run: |