Skip to content

Commit 22bec11

Browse files
committed
Fix sed command on mac, and try to cache ghc install on windows.
1 parent d89c7a9 commit 22bec11

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/build.yml

+9-1
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ jobs:
123123
- name: List exact cabal deps
124124
run: |
125125
devbox run -- cabal freeze --only-dependencies
126-
sed -i '$ d' cabal.project.freeze
126+
sed -i '' -e '$ d' cabal.project.freeze
127127
128128
- name: Cache cabal store
129129
uses: actions/cache@v4
@@ -176,6 +176,14 @@ jobs:
176176
steps:
177177
- uses: actions/checkout@v4
178178

179+
- name: Configure choco cache
180+
run: choco config set cacheLocation ./.choco-cache
181+
182+
- uses: actions/cache@v4
183+
with:
184+
path: ./.choco-cache
185+
key: choco-cache-${{ env.ghc }}-${{ env.cabal }}
186+
179187
- id: setup-haskell
180188
uses: haskell-actions/setup@v2
181189
with:

0 commit comments

Comments
 (0)