aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2019-09-13 09:26:47 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2019-09-13 09:26:47 -0700
commit8984eb7460c96f8f2b7e4975cd3fa1b98590e31a (patch)
treefcf8be9f5448eb2afa45beccadf213c4d2004a80 /.github
parentedd7bfa434586113b5a538a8dc9e293a5512e48a (diff)
downloadpandoc-8984eb7460c96f8f2b7e4975cd3fa1b98590e31a.tar.gz
Fix setting path.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/haskell.yml5
1 files changed, 3 insertions, 2 deletions
diff --git a/.github/workflows/haskell.yml b/.github/workflows/haskell.yml
index b622e3198..1d1d2037a 100644
--- a/.github/workflows/haskell.yml
+++ b/.github/workflows/haskell.yml
@@ -14,15 +14,16 @@ jobs:
sudo add-apt-repository ppa:hvr/ghc
sudo apt-get update
sudo apt-get install ghc-8.6.4 cabal-install-2.4
- - name: Set path to include new ghc and cabal
- export PATH=/opt/cabal/bin:/opt/ghc/bin:$PATH
- name: Install dependencies
run: |
+ export PATH=/opt/cabal/bin:/opt/ghc/bin:$PATH
cabal v2-update
cabal v2-build --dependencies-only --enable-tests
- name: Build
run: |
+ export PATH=/opt/cabal/bin:/opt/ghc/bin:$PATH
cabal v2-build --enable-tests
- name: Run tests
run: |
+ export PATH=/opt/cabal/bin:/opt/ghc/bin:$PATH
cabal v2-test