Skip to content

Commit

Permalink
update CI definition
Browse files Browse the repository at this point in the history
  • Loading branch information
lemastero committed Nov 2, 2024
1 parent 9ce14a7 commit b411f87
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/haskell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
# The last step generates dist-newstyle/cache/plan.json for the cache key.

- name: Restore cached dependencies
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
id: cache
env:
key: ${{ runner.os }}-ghc-${{ steps.setup.outputs.ghc-version }}-cabal-${{ steps.setup.outputs.cabal-version }}
Expand All @@ -39,7 +39,7 @@ jobs:

# Cache dependencies already here, so that we do not have to rebuild them should the subsequent steps fail.
- name: Save cached dependencies
uses: actions/cache/save@v3
uses: actions/cache/save@v4
# If we had an exact cache hit, trying to save the cache would error because of key clash.
if: ${{ steps.cache.outputs.cache-hit != 'true' }}
with:
Expand Down

0 comments on commit b411f87

Please sign in to comment.