update ci.yml

This commit is contained in:
PangMo5 2022-03-19 03:42:03 +09:00
parent 033c51d46a
commit 6125c1c425
1 changed files with 9 additions and 8 deletions

View File

@ -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