mirror of
				https://github.com/actions/cache.git
				synced 2025-11-01 04:28:39 +08:00 
			
		
		
		
	Use "Bundler" which is the package manager
"Gem" isn't wrong, but not typically what a Ruby developer would think of.
This commit is contained in:
		
							parent
							
								
									c33bff8d72
								
							
						
					
					
						commit
						9cd43c7243
					
				|  | @ -248,15 +248,15 @@ Replace `~/.cache/pip` with the correct `path` if not using Ubuntu. | ||||||
|       ${{ runner.os }}-pip- |       ${{ runner.os }}-pip- | ||||||
| ``` | ``` | ||||||
| 
 | 
 | ||||||
| ## Ruby - Gem | ## Ruby - Bundler | ||||||
| 
 | 
 | ||||||
| ```yaml | ```yaml | ||||||
| - uses: actions/cache@v1 | - uses: actions/cache@v1 | ||||||
|   with: |   with: | ||||||
|     path: vendor/bundle |     path: vendor/bundle | ||||||
|     key: ${{ runner.os }}-gem-${{ hashFiles('**/Gemfile.lock') }} |     key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }} | ||||||
|     restore-keys: | |     restore-keys: | | ||||||
|       ${{ runner.os }}-gem- |       ${{ runner.os }}-gems- | ||||||
| ``` | ``` | ||||||
| When dependencies are installed later in the workflow, we must specify the same path for the bundler. | When dependencies are installed later in the workflow, we must specify the same path for the bundler. | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Mike Coutermarsh
						Mike Coutermarsh