mirror of
				https://github.com/actions/cache.git
				synced 2025-10-31 18:34:19 +08:00 
			
		
		
		
	Merge pull request #1051 from uhooi/feature/add_mint_example
Add Mint example
This commit is contained in:
		
						commit
						365406cb70
					
				| @ -121,6 +121,7 @@ See [Examples](examples.md) for a list of `actions/cache` implementations for us | |||||||
| - [Swift, Objective-C - Carthage](./examples.md#swift-objective-c---carthage) | - [Swift, Objective-C - Carthage](./examples.md#swift-objective-c---carthage) | ||||||
| - [Swift, Objective-C - CocoaPods](./examples.md#swift-objective-c---cocoapods) | - [Swift, Objective-C - CocoaPods](./examples.md#swift-objective-c---cocoapods) | ||||||
| - [Swift - Swift Package Manager](./examples.md#swift---swift-package-manager) | - [Swift - Swift Package Manager](./examples.md#swift---swift-package-manager) | ||||||
|  | - [Swift - Mint](./examples.md#swift---mint) | ||||||
| 
 | 
 | ||||||
| ## Creating a cache key | ## Creating a cache key | ||||||
| 
 | 
 | ||||||
|  | |||||||
							
								
								
									
										16
									
								
								examples.md
									
									
									
									
									
								
							
							
						
						
									
										16
									
								
								examples.md
									
									
									
									
									
								
							| @ -38,6 +38,7 @@ | |||||||
| - [Swift, Objective-C - Carthage](#swift-objective-c---carthage) | - [Swift, Objective-C - Carthage](#swift-objective-c---carthage) | ||||||
| - [Swift, Objective-C - CocoaPods](#swift-objective-c---cocoapods) | - [Swift, Objective-C - CocoaPods](#swift-objective-c---cocoapods) | ||||||
| - [Swift - Swift Package Manager](#swift---swift-package-manager) | - [Swift - Swift Package Manager](#swift---swift-package-manager) | ||||||
|  | - [Swift - Mint](#swift---mint) | ||||||
| 
 | 
 | ||||||
| ## C# - NuGet | ## C# - NuGet | ||||||
| 
 | 
 | ||||||
| @ -641,3 +642,18 @@ whenever possible: | |||||||
|     restore-keys: | |     restore-keys: | | ||||||
|       ${{ runner.os }}-spm- |       ${{ runner.os }}-spm- | ||||||
| ``` | ``` | ||||||
|  | 
 | ||||||
|  | ## Swift - Mint | ||||||
|  | 
 | ||||||
|  | ```yaml | ||||||
|  | env: | ||||||
|  |   MINT_PATH: .mint/lib | ||||||
|  |   MINT_LINK_PATH: .mint/bin | ||||||
|  | steps: | ||||||
|  |   - uses: actions/cache@v3 | ||||||
|  |     with: | ||||||
|  |       path: .mint | ||||||
|  |       key: ${{ runner.os }}-mint-${{ hashFiles('**/Mintfile') }} | ||||||
|  |       restore-keys: | | ||||||
|  |         ${{ runner.os }}-mint- | ||||||
|  | ``` | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Tanuj Kumar Mishra
						Tanuj Kumar Mishra