fix: use copy instead of move (#1066)

* fix: use copy instead of move

Co-authored-by: Colin Spargo <cspargo@users.noreply.github.com>
This commit is contained in:
cspargo
2022-01-28 21:24:52 +00:00
committed by GitHub
co-authored by Colin Spargo
parent 715e6a40f1
commit 9d5a562407
+2 -1
View File
@@ -79,7 +79,8 @@ fi
# if this is not a testing environment
if [ -z "${UNITTEST:-}" ]; then
sudo chown -R runner:docker ${RUNNER_HOME}
mv /runnertmp/* ${RUNNER_HOME}/
# use cp over mv to avoid issues when /runnertmp and {RUNNER_HOME} are on different devices
cp -r /runnertmp/* ${RUNNER_HOME}/
fi
cd ${RUNNER_HOME}