-
georg authored
Up until now, the APT caching didn't work correctly in all cases. This commit fixes the problems, and, at the same time, improves the handling: It checks first, if the APT cache directory does exist. Only if it doesn't, it creates the necessary directories and updates the APT package lists. This prevents unneeded runs of 'apt-get update'. Additionally, this ensures, that in almost all cases, packages don't need to get downloaded, but instead, they're available already in the local filesystem, just waiting to be installed. Combining both steps leads to reduced run times per CI job by ~ 10%.
Validating GitLab CI configuration…
Learn more