CI Artifacts: exclude paths
So this is my problem:
During my CI build I want to cache my whole build folder but pass only a subset of it as an artifact. Something like:
build_job:
stage: build
cache:
key: build_cache
paths:
- build/
script:
- mkdir -p build && cd build && cmake .. && make
artifacts:
paths:
- build/
except: #This is not a valid keyword
- build/dont-include-this-folder
Is there any way to make this without listing all the folders and files I need? I can't find any info on this in the doc.
Suggested tags: CI, feature request.