mirror of
				https://github.com/actions/cache.git
				synced 2025-11-04 21:39:09 +08:00 
			
		
		
		
	Update examples.md
This commit is contained in:
		
							
								
								
									
										16
									
								
								examples.md
									
									
									
									
									
								
							
							
						
						
									
										16
									
								
								examples.md
									
									
									
									
									
								
							@@ -31,6 +31,7 @@
 | 
			
		||||
  - [Swift, Objective-C - Carthage](#swift-objective-c---carthage)
 | 
			
		||||
  - [Swift, Objective-C - CocoaPods](#swift-objective-c---cocoapods)
 | 
			
		||||
  - [Swift - Swift Package Manager](#swift---swift-package-manager)
 | 
			
		||||
  - [Swift - Mint](#swift---mint)
 | 
			
		||||
 | 
			
		||||
## C# - NuGet
 | 
			
		||||
Using [NuGet lock files](https://docs.microsoft.com/nuget/consume-packages/package-references-in-project-files#locking-dependencies):
 | 
			
		||||
@@ -503,3 +504,18 @@ When dependencies are installed later in the workflow, we must specify the same
 | 
			
		||||
    restore-keys: |
 | 
			
		||||
      ${{ runner.os }}-spm-
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
## Swift - Mint
 | 
			
		||||
 | 
			
		||||
```yaml
 | 
			
		||||
env:
 | 
			
		||||
  MINT_PATH: mint/lib
 | 
			
		||||
  MINT_LINK_PATH: mint/bin
 | 
			
		||||
steps:
 | 
			
		||||
  - uses: actions/cache@v2
 | 
			
		||||
    with:
 | 
			
		||||
      path: mint
 | 
			
		||||
      key: ${{ runner.os }}-mint-${{ hashFiles('**/Mintfile') }}
 | 
			
		||||
      restore-keys: |
 | 
			
		||||
        ${{ runner.os }}-mint-
 | 
			
		||||
```
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user