refactor(runner/entrypoint): don't mv externalstmp if it's not there (#1315)

This commit is contained in:
Bernardo Meurer
2022-05-16 02:37:37 -07:00
committed by GitHub
parent b5aa1750bb
commit bf45aa9f6b

View File

@@ -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