diff --git a/.forgejo/workflows/godot-html5.yml b/.forgejo/workflows/godot-html5.yml index 8a70778..15c1ad6 100644 --- a/.forgejo/workflows/godot-html5.yml +++ b/.forgejo/workflows/godot-html5.yml @@ -39,6 +39,19 @@ jobs: # --------------------------- - name: Verify Godot run: godot --version + + - name: Install export templates + run: | + VERSION=4.2 + + mkdir -p ~/.local/share/godot/export_templates/${VERSION}.stable + + wget -O templates.tpz \ + https://github.com/godotengine/godot/releases/download/${VERSION}-stable/Godot_v${VERSION}-stable_export_templates.tpz + + unzip templates.tpz -d templates_tmp + + cp -r templates_tmp/templates/* ~/.local/share/godot/export_templates/${VERSION}.stable/ # --------------------------- # 5. Build HTML5 export