update ci.yml
This commit is contained in:
parent
033c51d46a
commit
6125c1c425
|
@ -15,7 +15,7 @@ jobs:
|
|||
- "Swiftfin"
|
||||
- "Swiftfin tvOS"
|
||||
|
||||
runs-on: macos-11
|
||||
runs-on: macos-latest
|
||||
|
||||
steps:
|
||||
- uses: maxim-lobanov/setup-xcode@v1
|
||||
|
@ -26,15 +26,15 @@ jobs:
|
|||
uses: actions/checkout@v1
|
||||
|
||||
- uses: actions/cache@v2
|
||||
id: cocoapods-cache
|
||||
id: carthage-cache
|
||||
with:
|
||||
path: Pods
|
||||
key: ${{ runner.os }}-pods-${{ hashFiles('**/Podfile.lock') }}
|
||||
path: Carthage
|
||||
key: ${{ runner.os }}-carthage-${{ hashFiles('**/Cartfile.resolved') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-pods-
|
||||
${{ runner.os }}-carthage-
|
||||
|
||||
- name: Install pods
|
||||
run: pod install
|
||||
- name: Update Carthage
|
||||
run: carthage update --use-xcframeworks --cache-builds
|
||||
|
||||
- name: Cache Swift packages
|
||||
uses: actions/cache@v2
|
||||
|
@ -52,7 +52,8 @@ jobs:
|
|||
|
||||
- name: xcodebuild!
|
||||
run: |
|
||||
xcodebuild build -workspace "Swiftfin.xcworkspace" \
|
||||
xcodebuild build -project "Swiftfin.xcodeproj" \
|
||||
-resolvePackageDependencies \
|
||||
-scheme "${{ matrix.scheme }}" \
|
||||
CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=NO
|
||||
|
||||
|
|
Loading…
Reference in New Issue