Cache Pods in any path that contains "Pods"

This commit is contained in:
Marc Rousavy 2021-03-11 18:36:35 +01:00
parent c84fa68357
commit 832d6155eb
2 changed files with 2 additions and 3 deletions

View File

@ -47,12 +47,12 @@ jobs:
- name: Restore Pods cache
uses: actions/cache@v2
with:
path: example/ios/Pods
path: Pods
key: ${{ runner.os }}-pods-${{ hashFiles('**/Podfile.lock') }}
restore-keys: |
${{ runner.os }}-pods-
- name: Install Pods
run: pod install # TODO: Optimize this (see https://guides.cocoapods.org/plugins/optimising-ci-times.html)
run: pod install # TODO: Optimize "pod install" step (see https://guides.cocoapods.org/plugins/optimising-ci-times.html)
- name: Build App
run: "xcodebuild \
-workspace VisionCameraExample.xcworkspace \

View File

@ -22,7 +22,6 @@ jobs:
with:
args: --strict
env:
# DIFF_BASE: ${{ github.base_ref }}
WORKING_DIRECTORY: ios
SwiftFormat:
runs-on: macOS-latest