Skip to content

Commit

Permalink
yet another attempt
Browse files Browse the repository at this point in the history
  • Loading branch information
noinia committed Nov 18, 2023
1 parent cdd1a2d commit 4e01915
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ jobs:
- name: Set PATH and environment variables
run: |
echo "$HOME/.cabal/bin" >> $GITHUB_PATH
echo "$HOME/.ghcup/bin" >> $GITHUB_PATH
echo "LANG=C.UTF-8" >> "$GITHUB_ENV"
echo "CABAL_DIR=$HOME/.cabal" >> "$GITHUB_ENV"
echo "CABAL_CONFIG=$HOME/.cabal/config" >> "$GITHUB_ENV"
Expand Down Expand Up @@ -171,7 +172,10 @@ jobs:
- name: haddock
run: |
$CABAL v2-haddock --disable-documentation --haddock-all $ARG_COMPILER --with-haddock $HADDOCK all > haddock.raw.txt
"$HOME/.ghcup/bin/ghcup" set ghc "$HCVER"
$CABAL haddock-project --with-haddock=$HADDOCK --with-ghc=$HC
env:
HCVER: ${{ matrix.compilerVersion }}
- name: haddock-badge
run: |
grep ") in " haddock.raw.txt | sort -hr > haddock.txt
Expand Down

0 comments on commit 4e01915

Please sign in to comment.