From ad11ded8161efb68b4d4c488b6427396a655f213 Mon Sep 17 00:00:00 2001 From: aiden vigue Date: Wed, 9 Jun 2021 23:24:35 -0700 Subject: [PATCH] Update ci.yml --- .github/workflows/ci.yml | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 925e5080..928a5c48 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,8 +25,31 @@ jobs: with: ruby-version: 2.6 # Not needed with a .ruby-version file bundler-cache: true # runs 'bundle install' and caches installed gems automatically - - name: Install Carthage + - name: Install VLCKit run: "carthage update" + + - name: Cache VLCKit + uses: actions/cache@v2 + with: + path: Carthage + key: ${{ runner.os }}-carthage-${{ hashFiles('**/Cartfile.resolved') }} + restore-keys: | + ${{ runner.os }}-carthage- + + - name: Cache SPM + uses: actions/cache@v2 + with: + path: .build + key: ${{ runner.os }}-spm-${{ hashFiles('**/Package.resolved') }} + restore-keys: | + ${{ runner.os }}-spm- + + - name: Cache build output + uses: actions/cache@v2 + with: + path: "~/Library/Developer/Xcode/DerivedData" + key: ${{ runner.os }}-deriveddata + - name: Build! run: | xcodebuild build -project "JellyfinPlayer.xcodeproj" \