mirror of
https://github.com/yeslayla/build-godot-action.git
synced 2025-07-17 21:03:49 +02:00
Compare commits
6 Commits
Author | SHA1 | Date | |
---|---|---|---|
4940f3b222 | |||
7c6b524ff2 | |||
8958f9cefe | |||
00d186c313 | |||
bb3ca4865b | |||
545a327e1b |
@ -2,7 +2,7 @@
|
||||
set -e
|
||||
|
||||
workDir=`pwd`
|
||||
platforms="linux windows mac"
|
||||
platforms="linux windows mac html5"
|
||||
|
||||
wget https://downloads.tuxfamily.org/godotengine/3.1.1/Godot_v3.1.1-stable_export_templates.tpz --quiet
|
||||
mkdir ~/.cache
|
||||
@ -29,9 +29,14 @@ godot --export "Windows Desktop" ./build/windows/${SubDirectoryLocation:-""}${PR
|
||||
|
||||
# Export for OSX
|
||||
echo "Building ${PROJECT} for OSX"
|
||||
mkdir -p ./builds/mac/${SubDirectoryLocation:-""}
|
||||
mkdir -p ./build/mac/${SubDirectoryLocation:-""}
|
||||
godot --export "Mac OSX" ./build/mac/${SubDirectoryLocation:-""}${PROJECT}
|
||||
|
||||
# Export for HTML5
|
||||
echo "Building ${PROJECT} for HTML5"
|
||||
mkdir -p ./build/html5/${SubDirectoryLocation:-""}
|
||||
godot --export "HTML5" ./build/html5/${SubDirectoryLocation:-""}index.html
|
||||
|
||||
mkdir ${workDir}/package
|
||||
if [ ${PACKAGE:-"false"} = "true" ]
|
||||
then
|
||||
|
Reference in New Issue
Block a user