Cache Pods in any path that contains "Pods"
This commit is contained in:
parent
c84fa68357
commit
832d6155eb
4
.github/workflows/build-ios.yml
vendored
4
.github/workflows/build-ios.yml
vendored
@ -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 \
|
||||
|
1
.github/workflows/validate-ios.yml
vendored
1
.github/workflows/validate-ios.yml
vendored
@ -22,7 +22,6 @@ jobs:
|
||||
with:
|
||||
args: --strict
|
||||
env:
|
||||
# DIFF_BASE: ${{ github.base_ref }}
|
||||
WORKING_DIRECTORY: ios
|
||||
SwiftFormat:
|
||||
runs-on: macOS-latest
|
||||
|
Loading…
Reference in New Issue
Block a user