ci: select xcode version based on release-version

This commit is contained in:
OS-pedrogustavobilro 2026-01-23 16:48:39 +00:00
parent 3e7ccfb8ab
commit 4678116e09
No known key found for this signature in database
GPG key ID: 161C10C174323637

View file

@ -18,7 +18,12 @@ jobs:
runs-on: macos-latest
timeout-minutes: 30
steps:
- run: sudo xcode-select --switch /Applications/Xcode_26.0.app
- run: |
if [[ "${{ inputs.release-version }}" =~ ^7\. ]]; then
sudo xcode-select --switch /Applications/Xcode_16.2.app
else
sudo xcode-select --switch /Applications/Xcode_26.0.app
fi
- uses: actions/checkout@v4
- name: Install dependencies
run: brew install ghr