mirror of
https://github.com/yeslayla/build-godot-action.git
synced 2025-07-04 03:25:03 +02:00
Update test
Update test Update test Update test Update test
This commit is contained in:
@ -2,13 +2,13 @@
|
||||
set -e
|
||||
|
||||
# Install export templates
|
||||
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.2/Godot_v3.2-stable_export_templates.tpz --quiet
|
||||
mkdir ~/.cache
|
||||
mkdir -p ~/.config/godot
|
||||
mkdir -p ~/.local/share/godot/templates/3.1.1.stable
|
||||
unzip Godot_v3.1.1-stable_export_templates.tpz
|
||||
mv templates/* ~/.local/share/godot/templates/3.1.1.stable
|
||||
rm -f Godot_v3.1.1-stable_export_templates.tpz
|
||||
mkdir -p ~/.local/share/godot/templates/3.2.stable
|
||||
unzip Godot_v3.2-stable_export_templates.tpz
|
||||
mv templates/* ~/.local/share/godot/templates/3.2.stable
|
||||
rm -f Godot_v3.2-stable_export_templates.tpz
|
||||
|
||||
if [ "$3" != "" ]
|
||||
then
|
||||
@ -28,6 +28,6 @@ if [ "$4" = "true" ]
|
||||
then
|
||||
mkdir ~/package
|
||||
cd ~/build
|
||||
zip ~/package/artifact.zip ${SubDirectoryLocation:-"*"} -r
|
||||
zip ~/package/artifact.zip ${SubDirectoryLocation:-"."} -r
|
||||
echo ::set-output name=artifact::~/package/artifact.zip
|
||||
fi
|
||||
|
Reference in New Issue
Block a user