mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-24 15:44:59 +08:00
ci: fix linux path.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user