Skip to content

Commit

Permalink
add .cabal to haskell setup cache
Browse files Browse the repository at this point in the history
  • Loading branch information
danmatichuk committed Jun 17, 2024
1 parent b8d0caa commit b33b61e
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,9 @@ jobs:
name: Restore GHCup
id: cache-ghcup
with:
path: ~/.ghcup
path: |
~/.ghcup
~/.cabal
key: ${{ env.CACHE_VERSION }}-pate-ghcup-${{ runner.os }}-${{ matrix.ghc }}

- uses: haskell-actions/setup@v2
Expand All @@ -114,7 +116,9 @@ jobs:
- uses: actions/cache/save@v4
name: Save GHCup
with:
path: ~/.ghcup
path: |
~/.ghcup
~/.cabal
key: ${{ steps.cache-ghcup.outputs.cache-primary-key }}

- name: System Dependencies
Expand Down

0 comments on commit b33b61e

Please sign in to comment.