Make action not fail if dirs exist
This commit is contained in:
parent
612927e2fe
commit
23fb03f5c6
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Reference in a new issue