mirror of
https://github.com/yeslayla/build-godot-action.git
synced 2025-01-14 04:53:26 +01:00
Make action not fail if dirs exist
This commit is contained in:
parent
612927e2fe
commit
23fb03f5c6
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user