mirror of
				https://github.com/actions/cache.git
				synced 2025-10-31 10:24:19 +08:00 
			
		
		
		
	[D] Fix: should use dub.selections.json for cache
This commit is contained in:
		
							parent
							
								
									72d1e4fdff
								
							
						
					
					
						commit
						5074380beb
					
				| @ -86,7 +86,7 @@ steps: | ||||
| - uses: actions/cache@v2 | ||||
|   with: | ||||
|     path: ~/.dub | ||||
|     key: ${{ runner.os }}-dub-${{ hashFiles('**/dub.json') }} | ||||
|     key: ${{ runner.os }}-dub-${{ hashFiles('**/dub.selections.json') }} | ||||
|     restore-keys: | | ||||
|       ${{ runner.os }}-dub- | ||||
| ``` | ||||
| @ -97,7 +97,7 @@ steps: | ||||
| - uses: actions/cache@v2 | ||||
|   with: | ||||
|     path: ~\AppData\Local\dub | ||||
|     key: ${{ runner.os }}-dub-${{ hashFiles('**/dub.json') }} | ||||
|     key: ${{ runner.os }}-dub-${{ hashFiles('**/dub.selections.json') }} | ||||
|     restore-keys: | | ||||
|       ${{ runner.os }}-dub- | ||||
| ``` | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Hiroki Noda
						Hiroki Noda