ci: select xcode version based on release-version (#35)
This commit is contained in:
parent
13a39179b3
commit
018d204bf2
1 changed files with 6 additions and 1 deletions
7
.github/workflows/build-and-release.yaml
vendored
7
.github/workflows/build-and-release.yaml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue