mirror of
				https://github.com/actions/cache.git
				synced 2025-11-01 04:28:39 +08:00 
			
		
		
		
	Merge b8dd3ecee2 into 0057852bfa
				
					
				
			This commit is contained in:
		
						commit
						674a46247b
					
				|  | @ -244,15 +244,15 @@ steps: | ||||||
| 
 | 
 | ||||||
| ## Haskell - Cabal | ## Haskell - Cabal | ||||||
| 
 | 
 | ||||||
| We cache the elements of the Cabal store separately, as the entirety of `~/.cabal` can grow very large for projects with many dependencies. | We cache the elements of the Cabal store. | ||||||
| 
 | 
 | ||||||
| ```yaml | ```yaml | ||||||
| - name: Cache ~/.cabal/packages, ~/.cabal/store and dist-newstyle | - name: Cache ~/.cabal/packages, ~/.cabal/store and dist-newstyle | ||||||
|   uses: actions/cache@v4 |   uses: actions/cache@v4 | ||||||
|   with: |   with: | ||||||
|     path: | |     path: | | ||||||
|       ~/.cabal/packages |       ~/.cache/cabal/packages | ||||||
|       ~/.cabal/store |       ~/.local/state/cabal | ||||||
|       dist-newstyle |       dist-newstyle | ||||||
|     key: ${{ runner.os }}-${{ matrix.ghc }}-${{ hashFiles('**/*.cabal', '**/cabal.project', '**/cabal.project.freeze') }} |     key: ${{ runner.os }}-${{ matrix.ghc }}-${{ hashFiles('**/*.cabal', '**/cabal.project', '**/cabal.project.freeze') }} | ||||||
|     restore-keys: ${{ runner.os }}-${{ matrix.ghc }}- |     restore-keys: ${{ runner.os }}-${{ matrix.ghc }}- | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Pascal Grange
						Pascal Grange