fix(ci): use xcodebuild -version instead of xcode-select, clean only runner caches
This commit is contained in:
@@ -30,19 +30,15 @@ jobs:
|
||||
|
||||
- name: Setup Xcode
|
||||
run: |
|
||||
sudo xcode-select -s /Applications/Xcode.app
|
||||
xcodebuild -version
|
||||
|
||||
- name: Setup PATH
|
||||
run: echo "/opt/homebrew/bin" >> $GITHUB_PATH
|
||||
|
||||
- name: Clean ALL caches
|
||||
- name: Clean act runner caches
|
||||
run: |
|
||||
rm -rf ~/Library/Developer/Xcode/DerivedData
|
||||
rm -rf ~/Library/Caches/org.swift.swiftpm
|
||||
rm -rf ~/Library/org.swift.swiftpm
|
||||
rm -rf .build
|
||||
rm -rf ~/.cache/act/*/hostexecutor/tabatago-swift/build
|
||||
rm -rf .build
|
||||
|
||||
- name: Install tools (xcodegen, node, firebase)
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user