mirror of
https://github.com/yeslayla/build-godot-action.git
synced 2025-01-14 04:53:26 +01:00
BUGFIX - SUBDIR
This commit is contained in:
parent
337ddc6155
commit
e8b4e439a5
@ -1,9 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
if [ "$SUBDIRECTORY" != "" ]; then
|
|
||||||
SUBDIRECTORY = "/$SUBDIRECTORY/"
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
wget https://downloads.tuxfamily.org/godotengine/3.1.1/Godot_v3.1.1-stable_export_templates.tpz --quiet
|
wget https://downloads.tuxfamily.org/godotengine/3.1.1/Godot_v3.1.1-stable_export_templates.tpz --quiet
|
||||||
@ -16,12 +13,12 @@ rm -f Godot_v3.1.1-stable_export_templates.tpz
|
|||||||
|
|
||||||
# Export for Linux
|
# Export for Linux
|
||||||
mkdir -p ./build/linux
|
mkdir -p ./build/linux
|
||||||
godot --export Linux/X11 ./build/linux/${SUBDIRECTORY}${PROJECT}
|
godot --export Linux/X11 ./build/linux/${SUBDIRECTORY:-""}${PROJECT}
|
||||||
|
|
||||||
# Export for Windows
|
# Export for Windows
|
||||||
mkdir -p ./build/windows
|
mkdir -p ./build/windows
|
||||||
godot --export "Windows Desktop" ./build/windows/${SUBDIRECTORY}${PROJECT}.exe
|
godot --export "Windows Desktop" ./build/windows/${SUBDIRECTORY:-""}${PROJECT}.exe
|
||||||
|
|
||||||
# Export for OSX
|
# Export for OSX
|
||||||
mkdir -p ./builds/mac
|
mkdir -p ./builds/mac
|
||||||
godot --export "Mac OSX" ./build/mac/${SUBDIRECTORY}${PROJECT}
|
godot --export "Mac OSX" ./build/mac/${SUBDIRECTORY:-""}${PROJECT}
|
Loading…
Reference in New Issue
Block a user