Skip to content

Commit

Permalink
Fix sed command on mac, and try to cache ghc install on windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
robinheghan committed Oct 14, 2024
1 parent d89c7a9 commit 22bec11
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ jobs:
- name: List exact cabal deps
run: |
devbox run -- cabal freeze --only-dependencies
sed -i '$ d' cabal.project.freeze
sed -i '' -e '$ d' cabal.project.freeze
- name: Cache cabal store
uses: actions/cache@v4
Expand Down Expand Up @@ -176,6 +176,14 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Configure choco cache
run: choco config set cacheLocation ./.choco-cache

- uses: actions/cache@v4
with:
path: ./.choco-cache
key: choco-cache-${{ env.ghc }}-${{ env.cabal }}

- id: setup-haskell
uses: haskell-actions/setup@v2
with:
Expand Down

0 comments on commit 22bec11

Please sign in to comment.