Skip to content

Commit bc7ff52

Browse files
Fix generation of documentation. (#19)
2 parents b20ccc5 + 708fa43 commit bc7ff52

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,15 @@ jobs:
3535
- name: Checkout
3636
uses: actions/checkout@v3
3737

38-
- name: Environment
38+
- name: Environment (Purge)
39+
# The version of `ghc` that comes pre-installed on runner images does
40+
# not have documentation for core libraries. This makes it impossible
41+
# to build documentation with working hyperlinks to those libraries. To
42+
# solve this problem, we purge the existing installation, which enables
43+
# the next build step to install ghc from scratch, with documentation.
44+
run: ghcup nuke || true
45+
46+
- name: Environment (Installation)
3947
uses: haskell/actions/setup@v2
4048
id: setup-haskell-cabal
4149
with:

0 commit comments

Comments
 (0)