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-29 08:24:52 +11:00 committed by GitHub
parent 715e6a40f1
commit 9d5a562407
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

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}