Skip to content

Commit bf0f815

Browse files
committed
do not use haskell platform with ubuntu24
1 parent d03eaec commit bf0f815

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

.github/workflows/build-binary-packages.yml

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,13 @@ jobs:
2626
# Note: `haskell-platform` is listed as requirement in debian/control,
2727
# which is why it's installed using apt instead of the Setup Haskell action.
2828

29-
#- name: Setup Haskell
30-
# uses: haskell-actions/setup@v2
31-
# id: setup-haskell-cabal
32-
# with:
33-
# ghc-version: ${{ matrix.ghc }}
34-
# cabal-version: ${{ matrix.cabal }}
35-
# if: ${{ matrix.os }} == "ubuntu-24.04"
29+
- name: Setup Haskell
30+
uses: haskell-actions/setup@v2
31+
id: setup-haskell-cabal
32+
with:
33+
ghc-version: ${{ matrix.ghc }}
34+
cabal-version: ${{ matrix.cabal }}
35+
if: ${{ matrix.os }} == "ubuntu-24.04"
3636

3737
- name: Install build tools
3838
run: |
@@ -44,8 +44,11 @@ jobs:
4444
libghc-json-dev \
4545
default-jdk \
4646
python-dev-is-python3 \
47-
libtool-bin \
47+
libtool-bin
48+
- run: |
49+
sudo apt-get install -y \
4850
haskell-platform
51+
if: ${{ matrix.os }} == "ubuntu-22.04"
4952
- name: Build package
5053
run: |
5154
make deb

0 commit comments

Comments
 (0)