mirror of
				https://github.com/actions/cache.git
				synced 2025-10-31 02:14:19 +08:00 
			
		
		
		
	
							parent
							
								
									fe98aa6782
								
							
						
					
					
						commit
						8c4c641fa0
					
				
							
								
								
									
										11
									
								
								examples.md
									
									
									
									
									
								
							
							
						
						
									
										11
									
								
								examples.md
									
									
									
									
									
								
							| @ -9,6 +9,7 @@ | ||||
| - [Swift, Objective-C - CocoaPods](#swift-objective-c---cocoapods) | ||||
| - [Ruby - Gem](#ruby---gem) | ||||
| - [Go - Modules](#go---modules) | ||||
| - [Elixir - Mix](#elixir---mix) | ||||
| 
 | ||||
| ## Node - npm | ||||
| 
 | ||||
| @ -108,3 +109,13 @@ uses: actions/cache@preview | ||||
|     restore-keys: | | ||||
|       ${{ runner.os }}-go- | ||||
| ``` | ||||
| 
 | ||||
| ## Elixir - Mix | ||||
| ```yaml | ||||
| - uses: actions/cache@preview | ||||
|   with: | ||||
|     path: deps | ||||
|     key: ${{ runner.os }}-mix-${{ hashFiles(format('{0}{1}', github.workspace, '/mix.lock')) }} | ||||
|     restore-keys: | | ||||
|       ${{ runner.os }}-mix- | ||||
| ``` | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Ishizaka Tomoya
						Ishizaka Tomoya