File tree Expand file tree Collapse file tree 7 files changed +9
-10
lines changed
components/monoidmap/Data Expand file tree Collapse file tree 7 files changed +9
-10
lines changed Original file line number Diff line number Diff line change 1717 name : ${{ matrix.os }}-ghc-${{ matrix.ghc }}
1818 runs-on : ${{ matrix.os }}
1919 env :
20- cabal-build-dir : b
20+ cabal-build-dir : dist-newstyle
2121 strategy :
2222 matrix :
2323 os :
@@ -105,22 +105,20 @@ jobs:
105105 || true
106106
107107 - name : Documentation (Generation)
108+ if : |
109+ matrix.os == 'ubuntu-latest'
110+ && matrix.ghc == '9.12'
108111 run : >
109- cabal haddock
110- --builddir=${{ env.cabal-build-dir }}
111- --enable-documentation
112- --haddock-hyperlink-source
113- --haddock-html-location
114- 'https://hackage.haskell.org/package/$pkg-$version/docs'
112+ cabal haddock-project
113+ --hackage
114+ --output=gh-pages
115115
116116 - name : Documentation (Staging)
117117 if : |
118118 github.ref == 'refs/heads/main'
119119 && matrix.os == 'ubuntu-latest'
120120 && matrix.ghc == '9.12'
121121 run : >
122- mv ${{ env.cabal-build-dir }}/build/*/*/*/doc/html/* gh-pages
123-
124122 touch gh-pages/.nojekyll
125123
126124 - name : Documentation (Deployment)
Original file line number Diff line number Diff line change 1- packages : monoidmap.cabal
1+ packages :
2+ packages/*
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
You can’t perform that action at this time.
0 commit comments