Skip to content
Snippets Groups Projects
Commit b608122b authored by André Anjos's avatar André Anjos :speech_balloon:
Browse files

[ci] Erase eventual selfs in cache

parent ad8e2c2d
No related branches found
No related tags found
No related merge requests found
Pipeline #25953 failed
......@@ -58,6 +58,7 @@ merge_conda_cache() {
if [ -e ${2}/pkgs ]; then
log_info "Merging urls.txt and packages with cached files..."
mv ${2}/pkgs/*.tar.bz2 ${1}/pkgs
run_cmd rm -f ${1}/pkgs/${CI_PROJECT_NAME}-*-*_*.tar.bz2
cat ${_urlstxt} ${_cached_urlstxt} | sort | uniq > ${_urlstxt}
else
run_cmd mkdir -p ${1}/pkgs
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment