aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2019-09-16 22:03:47 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2019-09-16 22:03:47 -0700
commit255f3c0a8e6aca66937a68b42d076da9042de04c (patch)
tree913784aca81b0580e2c204ba6310894a717a402b
parentd9125ac9bce581f246cbc420e62438af4946a484 (diff)
downloadpandoc-255f3c0a8e6aca66937a68b42d076da9042de04c.tar.gz
GitHub CI - take 2 on macos build.
-rw-r--r--.github/workflows/haskell.yml10
1 files changed, 4 insertions, 6 deletions
diff --git a/.github/workflows/haskell.yml b/.github/workflows/haskell.yml
index d146795b7..bb59fc468 100644
--- a/.github/workflows/haskell.yml
+++ b/.github/workflows/haskell.yml
@@ -94,13 +94,11 @@ jobs:
- name: Install stack
run: |
curl -L https://get.haskellstack.org/stable/osx-x86_64.tar.gz -o stack.tar.gz
- tar xzvf stack.tar.gz
+ tar xzvf stack.tar.gz --strip-components=1 'stack*/stack'
- name: Install dependencies
run: |
- export PATH=stack-*-osx-x86_64:$PATH
- stack update
- stack test --dependencies-only
+ ./stack update
+ ./stack test --dependencies-only
- name: Build and test
run: |
- export PATH=stack-*-osx-x86_64:$PATH
- stack test
+ ./stack test