mirror of
https://github.com/actions/actions-runner-controller.git
synced 2025-12-11 03:57:01 +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 this is not a testing environment
|
||||||
if [ -z "${UNITTEST:-}" ]; then
|
if [ -z "${UNITTEST:-}" ]; then
|
||||||
sudo chown -R runner:docker ${RUNNER_HOME}
|
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
|
fi
|
||||||
|
|
||||||
cd ${RUNNER_HOME}
|
cd ${RUNNER_HOME}
|
||||||
|
|||||||
Reference in New Issue
Block a user