Skip to content

Commit

Permalink
github-actions: removed crossedOsArchive option
Browse files Browse the repository at this point in the history
  • Loading branch information
coot committed Oct 21, 2024
1 parent 65328c6 commit 2dfca2d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,11 @@ jobs:
- uses: actions/cache/restore@v4
name: "Restore cache: `cabal store`"
id: cache-dependencies
with:
path: ${{ steps.setup-haskell.outputs.cabal-store }}
key: cache-dependencies-${{ env.CABAL_CACHE_VERSION }}-${{ env.CACHE_VERSION }}-${{ runner.os }}-${{ matrix.ghc }}-${{ hashFiles('dependencies.txt') }}
restore-keys: cache-dependencies-${{ env.CABAL_CACHE_VERSION }}-${{ env.CACHE_VERSION }}-${{ runner.os }}-${{ matrix.ghc }}
enableCrossOsArchive: true

- uses: actions/cache@v4
name: "Cache `dist-newstyle`"
Expand All @@ -91,10 +91,10 @@ jobs:

- uses: actions/cache/save@v4
name: "Save cache: `cabal store`"
if: always() && steps.cache-dependencies.outputs.cache-hit != 'true'
with:
path: ${{ steps.setup-haskell.outputs.cabal-store }}
key: cache-dependencies-${{ env.CABAL_CACHE_VERSION }}-${{ env.CACHE_VERSION }}-${{ runner.os }}-${{ matrix.ghc }}-${{ hashFiles('dependencies.txt') }}
enableCrossOsArchive: true
key: ${{ steps.cache-dependencies.outputs.cache-primary-key }}

- name: Build projects [build]
run: cabal build all -j
Expand Down

0 comments on commit 2dfca2d

Please sign in to comment.