From 23fb03f5c6b143c1d573060b4b307660bed35bdc Mon Sep 17 00:00:00 2001 From: Tomer Keren Date: Sat, 4 Apr 2020 15:34:13 +0300 Subject: [PATCH] Make action not fail if dirs exist --- entrypoint.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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