mirror of
https://code.forgejo.org/actions/cache.git
synced 2025-04-11 04:41:31 +02:00
Add Cocoapods example
This commit is contained in:
parent
b2cac08cff
commit
c887381c74
1 changed files with 10 additions and 0 deletions
10
README.md
10
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.
|
||||
|
|
Loading…
Add table
Reference in a new issue