mirror of
				https://github.com/actions/cache.git
				synced 2025-10-31 10:24:19 +08:00 
			
		
		
		
	Add Carthage example (#10)
This commit is contained in:
		
							parent
							
								
									83bb08ded3
								
							
						
					
					
						commit
						6e37fd16ea
					
				
							
								
								
									
										11
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										11
									
								
								README.md
									
									
									
									
									
								
							| @ -102,6 +102,16 @@ jobs: | |||||||
|     key: ${{ runner.os }}-maven |     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 | ### Swift, Objective-C - CocoaPods | ||||||
| ```yaml | ```yaml | ||||||
| - uses: actions/cache@preview | - uses: actions/cache@preview | ||||||
| @ -120,7 +130,6 @@ 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…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Ryoya Ito
						Ryoya Ito