Skip to content
Snippets Groups Projects
Commit 119eb987 authored by stuebinm's avatar stuebinm
Browse files

Pipeline caching

parent 0529ef9e
No related branches found
No related tags found
1 merge request!9Pipeline caching
...@@ -5,9 +5,6 @@ stages: ...@@ -5,9 +5,6 @@ stages:
- trigger - trigger
build-job: build-job:
only:
refs:
- main
stage: build stage: build
script: script:
- stack build - stack build
...@@ -17,10 +14,14 @@ build-job: ...@@ -17,10 +14,14 @@ build-job:
artifacts: artifacts:
paths: paths:
- dist - dist
variables:
STACK_ROOT: "${CI_PROJECT_DIR}/.stack-root"
cache: cache:
key: '$CI_JOB_NAME-$CI_COMMIT_REF_SLUG' key: '$CI_JOB_NAME-stack-cache'
paths: paths:
- dist - .stack-work/
- .stack-root/
trigger-mapservice-pipeline: trigger-mapservice-pipeline:
only: only:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment