Skip to content

Commit

Permalink
ci: use haskell Setup action outputs for caching
Browse files Browse the repository at this point in the history
  • Loading branch information
elopez committed Mar 4, 2023
1 parent 54d8964 commit 70e2ad7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,16 +75,16 @@ jobs:
uses: actions/cache@v3
with:
path: |
~/.stack
.stack-work
~\AppData\Roaming\stack
~\AppData\Local\Programs\stack
${{ steps.stack.outputs.stack-root }}/*
!${{ steps.stack.outputs.stack-root }}/pantry/hackage/*.tar
!${{ steps.stack.outputs.stack-root }}/pantry/hackage/*.tar.gz
key: ${{ runner.os }}-stack-v5-${{ hashFiles('package.yaml', 'stack.yaml') }}

- name: Cache Cabal
uses: actions/cache@v3
with:
path: ~/.cabal
path: ${{ steps.stack.outputs.cabal-store }}
key: ${{ runner.os }}-cabal-v5-${{ hashFiles('package.yaml', 'stack.yaml') }}

- name: Build Libraries
Expand Down

0 comments on commit 70e2ad7

Please sign in to comment.