diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index aab12082c30a5..75fa4ccf919aa 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -53,6 +53,14 @@ jobs: steps: - uses: actions/checkout@v2 + - name: Override Xcode 13.0 if it's around + run: | + XCODE_PATH="$(xcode-select -p)" + if [[ "${XCODE_PATH}" = "/Applications/Xcode_13.0.app" ]]; then + sudo xcode-select -s "/Applications/Xcode_13.1.app" + echo "Updated Xcode path ${XCODE_PATH} -> $(xcode-select -p)" + fi + - name: Install dependencies run: | brew update