diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1352344..154ef74 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -36,6 +36,14 @@ jobs: tar -xjf MacPorts-${version}.tar.bz2 mv MacPorts-${version} MacPorts rm MacPorts-${version}.tar.bz2 MacPorts-${version}.tar.bz2.sha256.sig + - name: Select Xcode version + run: | + case "`uname -r`" in + 22.*) sudo xcode-select --switch /Applications/Xcode_14.3.1.app/Contents/Developer + ;; + 23.*) sudo xcode-select --switch /Applications/Xcode_15.3.app/Contents/Developer + ;; + esac - name: Configure MacPorts Base run: | set -eu