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 set -e
# Move godot templates already installed from the docker image to home # Move godot templates already installed from the docker image to home
mv /root/.local ~ mv -n /root/.local ~
if [ "$3" != "" ] if [ "$3" != "" ]
then then
@ -27,7 +27,7 @@ echo ::set-output name=build::~/build/${SubDirectoryLocation:-""}
if [ "$4" = "true" ] if [ "$4" = "true" ]
then then
mkdir ~/package mkdir -p ~/package
cd ~/build cd ~/build
zip ~/package/artifact.zip ${SubDirectoryLocation:-"."} -r zip ~/package/artifact.zip ${SubDirectoryLocation:-"."} -r
echo ::set-output name=artifact::~/package/artifact.zip echo ::set-output name=artifact::~/package/artifact.zip