Skip to content

Commit

Permalink
update cache when cabal config file changed
Browse files Browse the repository at this point in the history
Signed-off-by: silver-ymz <[email protected]>
  • Loading branch information
silver-ymz committed Aug 6, 2023
1 parent 7da1762 commit c85009e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/bindings_haskell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
- name: Restore haskell cache
uses: actions/cache/restore@v3
with:
key: ${{ runner.os }}-haskell-${{ github.sha }}
key: ${{ runner.os }}-haskell-${{ hashFiles('**/*.cabal') }}}
path: ~/.cabal/store
restore-keys: ${{ runner.os }}-haskell-
- name: Build & Test
Expand All @@ -65,5 +65,5 @@ jobs:
- name: Save haskell cache
uses: actions/cache/save@v3
with:
key: ${{ runner.os }}-haskell-${{ github.sha }}
key: ${{ runner.os }}-haskell-${{ hashFiles('**/*.cabal') }}}
path: ~/.cabal/store

0 comments on commit c85009e

Please sign in to comment.