forked from OSS/graphql
Set STACK_ROOT to cache dependencies in the CI
Set STACK_ROOT to cache dependencies between the builds.
This commit is contained in:
parent
f767f6cd40
commit
0d142fb01c
@ -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" ]
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
resolver: lts-14.7
|
resolver: lts-14.7
|
||||||
|
|
||||||
packages:
|
packages:
|
||||||
- '.'
|
- .
|
||||||
|
|
||||||
extra-deps: []
|
extra-deps: []
|
||||||
flags: {}
|
flags: {}
|
||||||
|
Loading…
Reference in New Issue
Block a user