Skip to content

Commit a2a4ea0

Browse files
Partially revert "ci: Use mv instead of cp in upload step"
This partially reverts commit fe7c97c. I kept a mv, not a cp, for the one that shuffles major artifacts around, because the size of those artifacts are big enough to matter, sometimes. I don't think the diagnostic info will be that heavy, by comparison.
1 parent 282d044 commit a2a4ea0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/ci/scripts/upload-artifacts.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,14 @@ if [[ "${DEPLOY-0}" -eq "1" ]] || [[ "${DEPLOY_ALT-0}" -eq "1" ]]; then
2323
fi
2424

2525
# CPU usage statistics.
26-
mv build/cpu-usage.csv "${upload_dir}/cpu-${CI_JOB_NAME}.csv"
26+
cp build/cpu-usage.csv "${upload_dir}/cpu-${CI_JOB_NAME}.csv"
2727

2828
# Build metrics generated by x.py.
29-
mv "${build_dir}/metrics.json" "${upload_dir}/metrics-${CI_JOB_NAME}.json"
29+
cp "${build_dir}/metrics.json" "${upload_dir}/metrics-${CI_JOB_NAME}.json"
3030

3131
# Toolstate data.
3232
if [[ -n "${DEPLOY_TOOLSTATES_JSON+x}" ]]; then
33-
mv /tmp/toolstate/toolstates.json "${upload_dir}/${DEPLOY_TOOLSTATES_JSON}"
33+
cp /tmp/toolstate/toolstates.json "${upload_dir}/${DEPLOY_TOOLSTATES_JSON}"
3434
fi
3535

3636
echo "Files that will be uploaded:"

0 commit comments

Comments
 (0)