diff --git a/entrypoint.sh b/entrypoint.sh index 13e8832..9fb7045 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -2,7 +2,7 @@ set -e # Move godot templates already installed from the docker image to home -mv /root/.local ~ +mv -n /root/.local ~ if [ "$3" != "" ] then @@ -27,7 +27,7 @@ echo ::set-output name=build::~/build/${SubDirectoryLocation:-""} if [ "$4" = "true" ] then - mkdir ~/package + mkdir -p ~/package cd ~/build zip ~/package/artifact.zip ${SubDirectoryLocation:-"."} -r echo ::set-output name=artifact::~/package/artifact.zip