add export templates

This commit is contained in:
2025-09-29 21:55:56 +04:00
parent ff04b6ee22
commit 1189ce0931
2 changed files with 38 additions and 5 deletions

View File

@@ -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 }}