mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-19 02:22:09 +08:00
Another attempt at fixing Windows CI caching.
We use setup-haskell, which defines cabal-store as one of its outputs.
This commit is contained in:
@@ -162,14 +162,20 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Setup Haskell
|
||||
id: setup-haskell
|
||||
uses: actions/setup-haskell@v1.1
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user