From c2b588d83552ff195cb9b2bf31574793090d61d0 Mon Sep 17 00:00:00 2001 From: Mikolaj Konarski Date: Tue, 14 Nov 2023 13:49:12 +0100 Subject: [PATCH] Fix GHA by tweaking sdl2 flags --- .github/workflows/haskell.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/haskell.yml b/.github/workflows/haskell.yml index c92c0c7d..b233eb30 100644 --- a/.github/workflows/haskell.yml +++ b/.github/workflows/haskell.yml @@ -302,11 +302,13 @@ jobs: PKGDIR_haskell_ci="$(find "$GITHUB_WORKSPACE/unpacked" -maxdepth 1 -type d -regex '.*/Allure-[0-9.]*')" echo "PKGDIR_haskell_ci=${PKGDIR_haskell_ci}" >> "$GITHUB_ENV" git clone --depth=50 --branch=master https://github.com/LambdaHack/LambdaHack.git - tail -n +3 ${PKGDIR_haskell_ci}/cabal.project.LH.dir > cabal.project + tail -n +5 ${PKGDIR_haskell_ci}/cabal.project.LH.dir > cabal.project echo "packages: $GITHUB_WORKSPACE/source/. LambdaHack" >> cabal.project if $HEADHACKAGE; then echo "allow-newer: $($HCPKG list --simple-output | sed -E 's/([a-zA-Z-]+)-[0-9.]+/*:\1,/g')" >> cabal.project fi + echo "package sdl2" >> cabal.project + echo " flags: +no-linear -recent-ish" >> cabal.project cat cabal.project cp cabal.project cabal.project.LH.dir - name: cache