ci: use xcode-select verify instead of sudo
This commit is contained in:
12
.github/workflows/apple-build.yml
vendored
12
.github/workflows/apple-build.yml
vendored
@@ -18,10 +18,8 @@ jobs:
|
||||
- name: Checkout
|
||||
run: |
|
||||
git clone --depth 1 --branch main http://192.168.120.110:4000/AI_Team/habo.git .
|
||||
- name: Setup Xcode
|
||||
run: |
|
||||
sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
|
||||
xcodebuild -version
|
||||
- name: Verify Xcode
|
||||
run: xcodebuild -version
|
||||
- name: Install Flutter
|
||||
run: |
|
||||
if [ ! -d "$HOME/flutter" ]; then
|
||||
@@ -46,10 +44,8 @@ jobs:
|
||||
- name: Checkout
|
||||
run: |
|
||||
git clone --depth 1 --branch main http://192.168.120.110:4000/AI_Team/habo.git .
|
||||
- name: Setup Xcode
|
||||
run: |
|
||||
sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
|
||||
xcodebuild -version
|
||||
- name: Verify Xcode
|
||||
run: xcodebuild -version
|
||||
- name: Install Flutter
|
||||
run: |
|
||||
if [ ! -d "$HOME/flutter" ]; then
|
||||
|
||||
Reference in New Issue
Block a user