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