aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2023-03-05 10:17:09 -0800
committerJohn MacFarlane <[email protected]>2023-03-05 10:17:09 -0800
commit4345350038609e4b47270dcb73c1bc6dcb3dfd60 (patch)
tree32555f0c898f650491a00bacc600aee79830fd90 /.github
parent32f0b1da90e2521c63b1e14a5200292a24e08bb1 (diff)
Another attempt at fixing Windows CI caching.
We use setup-haskell, which defines cabal-store as one of its outputs.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml10
1 files changed, 8 insertions, 2 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 758cb5a80..bc6f9c3ca 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -162,14 +162,20 @@ jobs:
steps:
- uses: actions/checkout@v3
+ - name: Setup Haskell
+ id: setup-haskell
+ uses: actions/[email protected]
+ with:
+ ghc-version: 9.4.4
+ cabal-version: latest
+
# declare/restore cached things
- name: Cache cabal global package db
id: cabal-global
uses: actions/cache@v3
with:
- path: |
- C:\Users\runneradmin\AppData\cabal\store
+ path: ${{ steps.setup-haskell.outputs.cabal-store }}
key: ${{ runner.os }}-appdata-cabal-${{ hashFiles('cabal.project') }}-${{ secrets.CACHE_VERSION }}
- name: Cache cabal work