mirror of
https://github.com/actions/actions-runner-controller.git
synced 2025-12-11 12:06:57 +00:00
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:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user