mirror of
				https://github.com/actions/cache.git
				synced 2025-11-04 07:38:37 +08:00 
			
		
		
		
	Add Cocoapods example (#5)
This commit is contained in:
		
							parent
							
								
									7611296bb3
								
							
						
					
					
						commit
						83bb08ded3
					
				
							
								
								
									
										11
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										11
									
								
								README.md
									
									
									
									
									
								
							| 
						 | 
					@ -102,6 +102,16 @@ jobs:
 | 
				
			||||||
    key: ${{ runner.os }}-maven
 | 
					    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-
 | 
				
			||||||
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
### Ruby - Gem
 | 
					### Ruby - Gem
 | 
				
			||||||
```yaml
 | 
					```yaml
 | 
				
			||||||
- uses: actions/cache@preview
 | 
					- uses: actions/cache@preview
 | 
				
			||||||
| 
						 | 
					@ -110,6 +120,7 @@ jobs:
 | 
				
			||||||
    key: ${{ runner.os }}-gem-${{ hashFiles('**/Gemfile.lock') }}
 | 
					    key: ${{ runner.os }}-gem-${{ hashFiles('**/Gemfile.lock') }}
 | 
				
			||||||
    restore-keys: |
 | 
					    restore-keys: |
 | 
				
			||||||
      ${{ runner.os }}-gem-
 | 
					      ${{ runner.os }}-gem-
 | 
				
			||||||
 | 
					
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## Cache Limits
 | 
					## Cache Limits
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user