mirror of
https://github.com/actions/actions-runner-controller.git
synced 2025-12-10 11:41:27 +00:00
refactor(runner/entrypoint): don't mv externalstmp if it's not there (#1315)
This commit is contained in:
@@ -134,9 +134,9 @@ cat .runner
|
||||
# -H "Authorization: bearer ${GITHUB_TOKEN}"
|
||||
# https://api.github.com/repos/USER/REPO/actions/runners/171
|
||||
|
||||
if [ -z "${UNITTEST:-}" ]; then
|
||||
# Hack due to the DinD volumes
|
||||
if [ -z "${UNITTEST:-}" ] && [ -e ./externalstmp ]; then
|
||||
mkdir -p ./externals
|
||||
# Hack due to the DinD volumes
|
||||
mv ./externalstmp/* ./externals/
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user