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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

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