From c887381c74f193b9312f6555570dc0253d03341e Mon Sep 17 00:00:00 2001 From: koogawa Date: Thu, 31 Oct 2019 09:48:51 +0900 Subject: [PATCH] Add Cocoapods example --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index e6d5923..ff529cb 100644 --- a/README.md +++ b/README.md @@ -100,6 +100,16 @@ jobs: key: ${{ runner.os }}-maven ``` +### Swift, Objective-C - CocoaPods +```yaml +- uses: actions/cache@preview + with: + path: Pods + key: ${{ runner.os }}-pods-${{ hashFiles('**/Podfile.lock') }} + restore-keys: | + ${{ runner.os }}-pods- +``` + ## Cache Limits Individual caches are limited to 200MB and a repository can have up to 2GB of caches. Once the 2GB limit is reached, older caches will be evicted based on when the cache was last accessed.