mirror of
				https://git.mirrors.martin98.com/https://github.com/actions/cache
				synced 2025-10-31 18:01:07 +08:00 
			
		
		
		
	Add Scala - SBT example (#134)
* Add Scala - SBT example * Add Scala - SBT example to README
This commit is contained in:
		
							parent
							
								
									d1991bb4c5
								
							
						
					
					
						commit
						c33bff8d72
					
				| @ -72,6 +72,7 @@ See [Examples](examples.md) for a list of `actions/cache` implementations for us | ||||
| - [Python - pip](./examples.md#python---pip) | ||||
| - [Ruby - Gem](./examples.md#ruby---gem) | ||||
| - [Rust - Cargo](./examples.md#rust---cargo) | ||||
| - [Scala - SBT](./examples.md#scala---sbt) | ||||
| - [Swift, Objective-C - Carthage](./examples.md#swift-objective-c---carthage) | ||||
| - [Swift, Objective-C - CocoaPods](./examples.md#swift-objective-c---cocoapods) | ||||
| 
 | ||||
|  | ||||
							
								
								
									
										16
									
								
								examples.md
									
									
									
									
									
								
							
							
						
						
									
										16
									
								
								examples.md
									
									
									
									
									
								
							| @ -12,6 +12,7 @@ | ||||
| - [Python - pip](#python---pip) | ||||
| - [Ruby - Gem](#ruby---gem) | ||||
| - [Rust - Cargo](#rust---cargo) | ||||
| - [Scala - SBT](#scala---sbt) | ||||
| - [Swift, Objective-C - Carthage](#swift-objective-c---carthage) | ||||
| - [Swift, Objective-C - CocoaPods](#swift-objective-c---cocoapods) | ||||
| 
 | ||||
| @ -286,6 +287,21 @@ When dependencies are installed later in the workflow, we must specify the same | ||||
|     key: ${{ runner.os }}-cargo-build-target-${{ hashFiles('**/Cargo.lock') }} | ||||
| ``` | ||||
| 
 | ||||
| ## Scala - SBT | ||||
| 
 | ||||
| ```yaml | ||||
| - name: Cache SBT ivy cache | ||||
|   uses: actions/cache@v1 | ||||
|   with: | ||||
|     path: ~/.ivy2/cache | ||||
|     key: ${{ runner.os }}-sbt-ivy-cache-${{ hashFiles('**/build.sbt') }} | ||||
| - name: Cache SBT | ||||
|   uses: actions/cache@v1 | ||||
|   with: | ||||
|     path: ~/.sbt | ||||
|     key: ${{ runner.os }}-sbt-${{ hashFiles('**/build.sbt') }} | ||||
| ``` | ||||
| 
 | ||||
| ## Swift, Objective-C - Carthage | ||||
| 
 | ||||
| ```yaml | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Daniel Shuy
						Daniel Shuy