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