From 1981907c0338a4dab93a33bc6ddecbe4b0cb1464 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Wed, 2 Oct 2019 08:52:22 -0700 Subject: ci: fix linux path. --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.github/workflows') diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index eb1d9a3e8..1898fce80 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -62,7 +62,7 @@ jobs: cabal v2-build --dependencies-only --enable-tests --disable-optimization - name: Build and test run: | - export PATH=/opt/cabal/bin:/opt/ghc/bin:$PATH + export PATH=/opt/cabal/${{ matrix.versions.cabal }}/bin:/opt/ghc/${{ matrix.versions.ghc }}/bin:$PATH cabal v2-build --enable-tests --disable-optimization 2>&1 | tee build.log # fail if warnings in local build ! grep -q ": *[Ww]arning:" build.log || exit 1 -- cgit v1.2.3