CircleCI - store artifact from stack build.
commitecccb69ec70b5453936cee106940dbec66daaae0
authorJohn MacFarlane <jgm@berkeley.edu>
dateFri 25 Jan 2019, 09:24 (8 years ago)
parent062a8fb
.circleci/config.yml+4
@@ -110,7 +110,11 @@ jobs:
110110 apt-get install -y ghc-8.6.3
111111 stack update
112112 stack test --system-ghc --ghc-options="${GHC_OPTS} -Werror" .
113+ stack install --system-ghc --ghc-options="${GHC_OPTS}" --local-bin-path /tmp/artifacts
113114 - *save
115+ - store_artifacts:
116+ path: /tmp/artifacts/pandoc
117+ destination: pandoc-${CIRCLE_SHA1}
114118
115119workflows:
116120 version: "2.1"