Skip to content

Commit aa0755f

Browse files
committed
Avoid ghc-9.0.1 in other way
1 parent 92c36b7 commit aa0755f

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/hackage.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
"hls-splice-plugin", "hls-tactics-plugin",
2323
"hls-call-hierarchy-plugin",
2424
"haskell-language-server"]
25-
ghc: ["8.10.7", "8.8.4", "8.6.5"]
25+
ghc: ["9.0.1", "8.10.7", "8.8.4", "8.6.5"]
2626
exclude:
2727
- ghc: "9.0.1"
2828
package: "hls-brittany-plugin"
@@ -125,19 +125,20 @@ jobs:
125125
echo " floskell:base, floskell:ghc-prim, stylish-haskell:Cabal," >> cabal.project
126126
127127
- name: "Build all package components in isolation"
128-
if: steps.get-hackage-version.outputs.exists != 'true'
128+
if: steps.get-hackage-version.outputs.exists != 'true' && matrix.ghc != "9.0.1"
129129
run: |
130130
cd $(ls -d ./incoming/${{ matrix.package }}-*)
131131
cabal build --enable-tests --enable-benchmarks
132132
133133
- name: "Generate haddock for hackage"
134-
if: steps.get-hackage-version.outputs.exists != 'true'
134+
if: steps.get-hackage-version.outputs.exists != 'true' && matrix.ghc != "9.0.1"
135+
continue-on-error: matrix.ghc == "9.0.1"
135136
run: |
136137
cd $(ls -d ./incoming/${{ matrix.package }}-*)
137138
cabal haddock --haddock-for-hackage
138139
139140
- name: "Upload package dist tarball"
140-
if: steps.get-hackage-version.outputs.exists != 'true'
141+
if: steps.get-hackage-version.outputs.exists != 'true' && matrix.ghc =="8.10.7"
141142
uses: actions/upload-artifact@v2
142143
with:
143144
name: ${{ matrix.package }}

0 commit comments

Comments
 (0)