Skip to content

Commit

Permalink
Get rid of ghc/cabal matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
samtay committed Oct 20, 2024
1 parent 05ee7b3 commit d543d92
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,15 +52,12 @@ jobs:

build_artifact:
needs: [create_release]
name: ${{ matrix.os }}/GHC ${{ matrix.ghc }}/${{ github.ref }}
name: ${{ matrix.os }}/${{ github.ref }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: true
matrix:
os: [ubuntu-latest, macOS-latest, windows-latest]
ghc:
- "9.6.3"
cabal: ["3.8"]

steps:
- name: Check out code
Expand All @@ -77,8 +74,8 @@ jobs:
uses: haskell/actions/[email protected]
id: setup-haskell-cabal
with:
ghc-version: ${{ matrix.ghc }}
cabal-version: ${{ matrix.cabal }}
ghc-version: "latest"
cabal-version: "latest"

- name: Freeze
run: |
Expand All @@ -88,7 +85,7 @@ jobs:
uses: actions/cache@v4
with:
path: ${{ steps.setup-haskell-cabal.outputs.cabal-store }}
key: ${{ runner.os }}-${{ matrix.ghc }}-${{ hashFiles('cabal.project.freeze') }}
key: ${{ runner.os }}-${{ hashFiles('cabal.project.freeze') }}

- name: Build binary
run: |
Expand Down

0 comments on commit d543d92

Please sign in to comment.