Skip to content

Commit 2860d0b

Browse files
committed
Set 'meta-cache: 0' as default
1 parent a15e835 commit 2860d0b

File tree

4 files changed

+14
-9
lines changed

4 files changed

+14
-9
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ jobs:
4848
ghc: ${{ matrix.ghc }}
4949
cabal: ${{ matrix.cabal }}
5050
config: |
51+
# don't cache metadata files based on last access time
52+
meta-cache: 0
5153
# see https://github.com/haskell/ghcup-hs/blob/master/data/config.yaml
5254
# for full documentation
5355
url-source:
@@ -66,7 +68,7 @@ jobs:
6668
| cabal | cabal-install version to install | `string ` | `undefined`|
6769
| stack | Stack version to install | `string ` | `undefined`|
6870
| hls | HLS version to install | `string ` | `undefined`|
69-
| config | Set ghcup config | `string[]` | `[]` |
71+
| config | Set ghcup config | `string[]` | `{"meta-cache": 0 }` |
7072
| stack-hook | Install the GHCup stack hook (GHCs are installed through ghcup) | `boolean` | `false` |
7173

7274
## Outputs

action.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ inputs:
2424
description: HLS version to install
2525
config:
2626
description: GHCup config (partial or full)
27+
default: '{"meta-cache": 0 }'
2728

2829
outputs:
2930
path:

0 commit comments

Comments
 (0)