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
|
- name: Restore Pods cache
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
path: example/ios/Pods
|
path: Pods
|
||||||
key: ${{ runner.os }}-pods-${{ hashFiles('**/Podfile.lock') }}
|
key: ${{ runner.os }}-pods-${{ hashFiles('**/Podfile.lock') }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-pods-
|
${{ runner.os }}-pods-
|
||||||
- name: Install 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
|
- name: Build App
|
||||||
run: "xcodebuild \
|
run: "xcodebuild \
|
||||||
-workspace VisionCameraExample.xcworkspace \
|
-workspace VisionCameraExample.xcworkspace \
|
||||||
|
1
.github/workflows/validate-ios.yml
vendored
1
.github/workflows/validate-ios.yml
vendored
@ -22,7 +22,6 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
args: --strict
|
args: --strict
|
||||||
env:
|
env:
|
||||||
# DIFF_BASE: ${{ github.base_ref }}
|
|
||||||
WORKING_DIRECTORY: ios
|
WORKING_DIRECTORY: ios
|
||||||
SwiftFormat:
|
SwiftFormat:
|
||||||
runs-on: macOS-latest
|
runs-on: macOS-latest
|
||||||
|
Loading…
Reference in New Issue
Block a user