mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-14 00:40:52 +00:00
Put the apt-cache in build/
Like with ccache, we want to make sure the git checkout is considered clean during build.
This commit is contained in:
parent
e2c7514cfd
commit
47bcad4ab1
1 changed files with 2 additions and 2 deletions
|
@ -12,7 +12,7 @@
|
|||
|
||||
- key: apt-$CI_JOB_IMAGE
|
||||
paths:
|
||||
- apt-cache
|
||||
- build/apt-cache
|
||||
unprotect: true
|
||||
|
||||
before_script:
|
||||
|
@ -37,7 +37,7 @@
|
|||
- - |
|
||||
# apt_conf
|
||||
echo -e "\e[0Ksection_start:`date +%s`:apt_conf[collapsed=true]\r\e[0KSetting up APT conf"
|
||||
- export APT_CACHE_DIR=`pwd`/apt-cache
|
||||
- export APT_CACHE_DIR=$CI_PROJECT_DIR/build/apt-cache
|
||||
- mkdir --parents --verbose $APT_CACHE_DIR/partial/
|
||||
- touch /etc/apt/apt.conf.d/99build
|
||||
- |
|
||||
|
|
Loading…
Reference in a new issue