diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index ff435e877..e74953582 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -170,12 +170,8 @@ jobs: restore-keys: ${{ runner.os }}-${{ matrix.compiler }}- - name: haddock run: | - "$HOME/.ghcup/bin/ghcup" set ghc "$HCVER" - export PATH=~/.ghcup/bin:$PATH - $CABAL haddock --disable-documentation --haddock-all $ARG_TESTS $ARG_BENCH all > haddock.raw.txt - # $CABAL haddock-project - env: - HCVER: ${{ matrix.compilerVersion }} + $CABAL v2-haddock --disable-documentation --haddock-all $ARG_COMPILER --with-haddock $HADDOCK $ARG_TESTS $ARG_BENCH all > haddock.raw.txt + # $CABAL haddock-project --with-compiler=$HC --with-haddock $HADDOCK - name: haddock-badge run: | grep ") in " haddock.raw.txt | sort -hr > haddock.txt