diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 433adfec..89e3f81a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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