Skip to content

Commit

Permalink
Fix Xcode setup for cmake-macos
Browse files Browse the repository at this point in the history
This commit modifies the setup command to be more flexible by using the `-p` flag to retrieve the current Xcode path and the `-s` flag to set it accordingly.
  • Loading branch information
ChinChangYang committed Nov 20, 2023
1 parent 978bd01 commit 0689556
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ jobs:
- name: Setup Xcode
run: |
xcode-select /Applications/Xcode_15.0.1.app/Contents/Developer
xcode-select -p
xcode-select -s /Applications/Xcode_15.0.1.app/Contents/Developer
- name: Run cmake ninja
run: |
Expand Down

0 comments on commit 0689556

Please sign in to comment.