Make action not fail if dirs exist

This commit is contained in:
Tomer Keren 2020-04-04 15:34:13 +03:00
parent 612927e2fe
commit 23fb03f5c6

View file

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