Commit 1e74b7a1 authored by Duncan Macleod's avatar Duncan Macleod
Browse files

ci: remove old files in conda cache

before caching the pkgs dir
parent fbb33d7a
......@@ -308,6 +308,10 @@ cache:
fi
# run the build
- eval $cmd
after_script:
# clean cache of old files
- find ${CONDA_PKGS_DIRS%:*} -atime +30 -delete
- find ${CONDA_PKGS_DIRS%:*} -type d -empty -delete
artifacts:
expire_in: 18h
paths:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment