aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2019-10-02 08:52:22 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2019-10-02 08:52:22 -0700
commit1981907c0338a4dab93a33bc6ddecbe4b0cb1464 (patch)
tree0ff55085c6f23905b7f0f85b6e813edc21a3b0ae /.github/workflows
parent6644200a929ce2d6f146914d48633e64a8d9e258 (diff)
downloadpandoc-1981907c0338a4dab93a33bc6ddecbe4b0cb1464.tar.gz
ci: fix linux path.
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/ci.yml2
1 files changed, 1 insertions, 1 deletions
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