Commit 589bf3b0 authored by André Anjos's avatar André Anjos 💬
Browse files

[ci] Only move conda-bld if there is one

parent f22845d6
Pipeline #25808 failed with stages
in 6 minutes and 7 seconds
......@@ -57,13 +57,15 @@ merge_conda_cache() {
_urlstxt="${1}/urls.txt"
if [ -e ${2} ]; then
log_info "Merging urls.txt and packages with cached files..."
run_cmd mv ${2}/pkgs/*.tar.bz2 ${1}/pkgs
mv ${2}/pkgs/*.tar.bz2 ${1}/pkgs
cat ${_urlstxt} ${_cached_urlstxt} | sort | uniq > ${_urlstxt}
if [ -d ${2}/conda-bld ]; then
log_info "Moving conda-bld packages (artifacts)..."
run_cmd mv ${2}/conda-bld ${1}
run_cmd conda index ${1}/conda-bld
fi
fi
fi
}
# installs a miniconda installation.
......
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