diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ac720bea7..5d3cc4cfc 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -79,18 +79,19 @@ well-known: - well-known/ - .well-known-cache/ +# TODO: cache is always uploaded even if up-to-date; prevent re-upload when up-to-date backend dependencies: stage: setup cache: - &stack-cache key: default-stack paths: - - .stack + - .stack/ script: - make backend-dependencies-prod artifacts: paths: - - .stack + - .stack/ frontend build: stage: build @@ -114,6 +115,7 @@ uniworx: - *stack-cache script: - make bin/uniworx + - find .stack-work - cp $(stack path --dist-dir)/build/hlint/hlint bin/test-hlint - cp $(stack path --dist-dir)/build/yesod/yesod bin/test-yesod needs: