Set STACK_ROOT to cache dependencies in the CI

Set STACK_ROOT to cache dependencies between the builds.
This commit is contained in:
Eugen Wissner 2019-09-30 07:09:58 +02:00
parent f767f6cd40
commit 0d142fb01c
2 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,7 @@
#!/bin/bash #!/bin/bash
STACK=$SEMAPHORE_CACHE_DIR/stack STACK=$SEMAPHORE_CACHE_DIR/stack
export STACK_ROOT=$SEMAPHORE_CACHE_DIR/.stack
setup() { setup() {
if [ ! -e "$STACK" ] if [ ! -e "$STACK" ]

View File

@ -1,7 +1,7 @@
resolver: lts-14.7 resolver: lts-14.7
packages: packages:
- '.' - .
extra-deps: [] extra-deps: []
flags: {} flags: {}