From 3025600eccc7ab88a475ca14012f57c362a6802f Mon Sep 17 00:00:00 2001
From: ryoya ito <horusu.dqx@gmail.com>
Date: Thu, 31 Oct 2019 17:21:29 +0900
Subject: [PATCH] Add Carthage example

---
 README.md | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/README.md b/README.md
index e6d5923..3c9f874 100644
--- a/README.md
+++ b/README.md
@@ -100,6 +100,16 @@ jobs:
     key: ${{ runner.os }}-maven
 ```
 
+### Swift, Objective-C - Carthage
+```yaml
+uses: actions/cache@preview
+      with:
+        path: Carthage
+        key: ${{ runner.os }}-carthage-${{ hashFiles('**/Cartfile.resolved') }}
+        restore-keys: |
+          ${{ runner.os }}-carthage-
+```
+
 ## 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.