Skip to content

Commit

Permalink
Exclude macOS-latest-ghc-{8.10,9.0} from build matrix.
Browse files Browse the repository at this point in the history
As a temporary workaround for:
haskell-actions/setup#77
  • Loading branch information
jonathanknowles committed May 5, 2024
1 parent 2abcfd7 commit c6c1a5c
Showing 1 changed file with 16 additions and 9 deletions.
25 changes: 16 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,21 @@ jobs:
- macOS-latest
- windows-latest
cabal:
- 3.10.2.0
- '3.10'
ghc:
- 8.10.7
- 9.0.2
- 9.2.8
- 9.4.8
- 9.6.4
- 9.8.1
- '8.10'
- '9.0'
- '9.2'
- '9.4'
- '9.6'
- '9.8'
exclude:
# TODO: https://github.com/haskell-actions/setup/issues/77
# To work around the above issue, we exclude the following versions:
- os: macOS-latest
ghc: '8.10'
- os: macOS-latest
ghc: '9.0'
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down Expand Up @@ -108,7 +115,7 @@ jobs:
if: |
github.ref == 'refs/heads/main'
&& matrix.os == 'ubuntu-latest'
&& matrix.ghc == '9.8.1'
&& matrix.ghc == '9.8'
run: >
mv ${{ env.cabal-build-dir }}/build/*/*/*/doc/html/* gh-pages
Expand All @@ -118,7 +125,7 @@ jobs:
if: |
github.ref == 'refs/heads/main'
&& matrix.os == 'ubuntu-latest'
&& matrix.ghc == '9.8.1'
&& matrix.ghc == '9.8'
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
Expand Down

0 comments on commit c6c1a5c

Please sign in to comment.