I’ve set up a gitlab ci pipeline to run my robots using rcc, and they are split into several jobs
To avoid recreating the rcc environment everytime I would like to cache the environment, but if I cache the full .robocorp folder it is taking way longer than recreating the environment (it contains >100k files)
What folders do I need to cache between my jobs?
This depends on how your gitlab CI is setup. But most relevant thing for recreating existing environments is $ROBOCORP_HOME/hololib directory.
If you are using containers for running, one way to do it is to just mount that directory from underlying host machine. If you prebuild that to contain all your used conda.yaml configurations, then that can be read-only mount.
If this did not help, give more details about you actual CI setup.