3
0
Fork 0
mirror of https://github.com/actions/cache.git synced 2024-12-05 00:39:32 +01:00

Add Carthage example (#10)

This commit is contained in:
Ryoya Ito 2019-10-31 23:52:32 +09:00 committed by Josh Gross
parent 83bb08ded3
commit 6e37fd16ea

View file

@ -102,6 +102,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-
```
### Swift, Objective-C - CocoaPods
```yaml
- uses: actions/cache@preview
@ -120,7 +130,6 @@ jobs:
key: ${{ runner.os }}-gem-${{ hashFiles('**/Gemfile.lock') }}
restore-keys: |
${{ runner.os }}-gem-
```
## Cache Limits