mirror of
				https://github.com/actions/cache.git
				synced 2025-11-04 07:38:37 +08:00 
			
		
		
		
	Merge pull request #738 from kubo39/fix-dub
[D] Fix: should use dub.selections.json for cache
This commit is contained in:
		
						commit
						9c784e290b
					
				| 
						 | 
					@ -90,7 +90,7 @@ steps:
 | 
				
			||||||
- uses: actions/cache@v3
 | 
					- uses: actions/cache@v3
 | 
				
			||||||
  with:
 | 
					  with:
 | 
				
			||||||
    path: ~/.dub
 | 
					    path: ~/.dub
 | 
				
			||||||
    key: ${{ runner.os }}-dub-${{ hashFiles('**/dub.json') }}
 | 
					    key: ${{ runner.os }}-dub-${{ hashFiles('**/dub.selections.json') }}
 | 
				
			||||||
    restore-keys: |
 | 
					    restore-keys: |
 | 
				
			||||||
      ${{ runner.os }}-dub-
 | 
					      ${{ runner.os }}-dub-
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
| 
						 | 
					@ -101,7 +101,7 @@ steps:
 | 
				
			||||||
- uses: actions/cache@v3
 | 
					- uses: actions/cache@v3
 | 
				
			||||||
  with:
 | 
					  with:
 | 
				
			||||||
    path: ~\AppData\Local\dub
 | 
					    path: ~\AppData\Local\dub
 | 
				
			||||||
    key: ${{ runner.os }}-dub-${{ hashFiles('**/dub.json') }}
 | 
					    key: ${{ runner.os }}-dub-${{ hashFiles('**/dub.selections.json') }}
 | 
				
			||||||
    restore-keys: |
 | 
					    restore-keys: |
 | 
				
			||||||
      ${{ runner.os }}-dub-
 | 
					      ${{ runner.os }}-dub-
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user