Skip to content

Commit

Permalink
Upgrade CI build action. (#66)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanknowles authored Feb 22, 2024
2 parents 7ff754b + 22264a3 commit 72cd553
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,19 +25,19 @@ jobs:
- macOS-latest
- windows-latest
cabal:
- 3.8.1.0
- 3.10.2.0
ghc:
- 8.10.7
- 9.0.2
- 9.2.7
- 9.4.5
- 9.6.1
- '8.10'
- '9.0'
- '9.2'
- '9.4'
- '9.6'
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Environment
uses: haskell/actions/setup@v2
uses: haskell-actions/setup@v2
id: setup-haskell-cabal
with:
ghc-version: ${{ matrix.ghc }}
Expand All @@ -59,7 +59,7 @@ jobs:
--builddir=${{ env.cabal-build-dir }}
- name: Cache
uses: actions/cache@v3
uses: actions/cache@v4
env:
hash: ${{ hashFiles('cabal.project.freeze') }}
with:
Expand Down Expand Up @@ -107,7 +107,7 @@ jobs:
if: |
github.ref == 'refs/heads/main'
&& matrix.os == 'ubuntu-latest'
&& matrix.ghc == '9.6.1'
&& matrix.ghc == '9.6'
run: >
mv ${{ env.cabal-build-dir }}/build/*/*/*/doc/html/* gh-pages
Expand All @@ -117,7 +117,7 @@ jobs:
if: |
github.ref == 'refs/heads/main'
&& matrix.os == 'ubuntu-latest'
&& matrix.ghc == '9.6.1'
&& matrix.ghc == '9.6'
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
Expand Down

0 comments on commit 72cd553

Please sign in to comment.