From 1189ce0931c1cf8ee8e0c526913483cdc50bb4d9 Mon Sep 17 00:00:00 2001 From: Vladimir nett00n Budylnikov Date: Mon, 29 Sep 2025 21:55:56 +0400 Subject: [PATCH] add export templates --- .claude/settings.local.json | 1 + .gitea/workflows/build.yml | 42 ++++++++++++++++++++++++++++++++----- 2 files changed, 38 insertions(+), 5 deletions(-) diff --git a/.claude/settings.local.json b/.claude/settings.local.json index 73d6ec2..1276055 100644 --- a/.claude/settings.local.json +++ b/.claude/settings.local.json @@ -4,6 +4,7 @@ "WebSearch", "Bash(find:*)", "Bash(godot:*)", + "Bash(python:*)" ], "deny": [], "ask": [] diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index fc4eb16..eb02240 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -118,6 +118,16 @@ jobs: version: ${{ env.GODOT_VERSION }} use-dotnet: false + - name: Install export templates + run: | + echo "📦 Installing Godot export templates..." + mkdir -p ~/.local/share/godot/export_templates/${{ env.GODOT_VERSION }}.stable + wget -q https://github.com/godotengine/godot/releases/download/${{ env.GODOT_VERSION }}-stable/Godot_v${{ env.GODOT_VERSION }}-stable_export_templates.tpz + unzip -q Godot_v${{ env.GODOT_VERSION }}-stable_export_templates.tpz + mv templates/* ~/.local/share/godot/export_templates/${{ env.GODOT_VERSION }}.stable/ + echo "✅ Export templates installed successfully" + ls -la ~/.local/share/godot/export_templates/${{ env.GODOT_VERSION }}.stable/ + - name: Create build directory run: mkdir -p ${{ env.BUILD_DIR }} @@ -167,6 +177,16 @@ jobs: version: ${{ env.GODOT_VERSION }} use-dotnet: false + - name: Install export templates + run: | + echo "📦 Installing Godot export templates..." + mkdir -p ~/.local/share/godot/export_templates/${{ env.GODOT_VERSION }}.stable + wget -q https://github.com/godotengine/godot/releases/download/${{ env.GODOT_VERSION }}-stable/Godot_v${{ env.GODOT_VERSION }}-stable_export_templates.tpz + unzip -q Godot_v${{ env.GODOT_VERSION }}-stable_export_templates.tpz + mv templates/* ~/.local/share/godot/export_templates/${{ env.GODOT_VERSION }}.stable/ + echo "✅ Export templates installed successfully" + ls -la ~/.local/share/godot/export_templates/${{ env.GODOT_VERSION }}.stable/ + - name: Create build directory run: mkdir -p ${{ env.BUILD_DIR }} @@ -219,6 +239,16 @@ jobs: version: ${{ env.GODOT_VERSION }} use-dotnet: false + - name: Install export templates + run: | + echo "📦 Installing Godot export templates..." + mkdir -p ~/.local/share/godot/export_templates/${{ env.GODOT_VERSION }}.stable + wget -q https://github.com/godotengine/godot/releases/download/${{ env.GODOT_VERSION }}-stable/Godot_v${{ env.GODOT_VERSION }}-stable_export_templates.tpz + unzip -q Godot_v${{ env.GODOT_VERSION }}-stable_export_templates.tpz + mv templates/* ~/.local/share/godot/export_templates/${{ env.GODOT_VERSION }}.stable/ + echo "✅ Export templates installed successfully" + ls -la ~/.local/share/godot/export_templates/${{ env.GODOT_VERSION }}.stable/ + - name: Create build directory run: mkdir -p ${{ env.BUILD_DIR }} @@ -280,12 +310,14 @@ jobs: version: ${{ env.GODOT_VERSION }} use-dotnet: false - - name: Setup Android export templates + - name: Install export templates run: | - echo "📱 Setting up Android export templates..." - # Download Android export templates - mkdir -p ~/.local/share/godot/export_templates/${{ env.GODOT_VERSION }} - # Templates will be automatically downloaded by Godot during export + echo "📦 Installing Godot export templates..." + mkdir -p ~/.local/share/godot/export_templates/${{ env.GODOT_VERSION }}.stable + wget -q https://github.com/godotengine/godot/releases/download/${{ env.GODOT_VERSION }}-stable/Godot_v${{ env.GODOT_VERSION }}-stable_export_templates.tpz + unzip -q Godot_v${{ env.GODOT_VERSION }}-stable_export_templates.tpz + mv templates/* ~/.local/share/godot/export_templates/${{ env.GODOT_VERSION }}.stable/ + echo "✅ Export templates installed successfully" - name: Create build directory run: mkdir -p ${{ env.BUILD_DIR }}