add export templates
This commit is contained in:
@@ -4,6 +4,7 @@
|
|||||||
"WebSearch",
|
"WebSearch",
|
||||||
"Bash(find:*)",
|
"Bash(find:*)",
|
||||||
"Bash(godot:*)",
|
"Bash(godot:*)",
|
||||||
|
"Bash(python:*)"
|
||||||
],
|
],
|
||||||
"deny": [],
|
"deny": [],
|
||||||
"ask": []
|
"ask": []
|
||||||
|
|||||||
@@ -118,6 +118,16 @@ jobs:
|
|||||||
version: ${{ env.GODOT_VERSION }}
|
version: ${{ env.GODOT_VERSION }}
|
||||||
use-dotnet: false
|
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
|
- name: Create build directory
|
||||||
run: mkdir -p ${{ env.BUILD_DIR }}
|
run: mkdir -p ${{ env.BUILD_DIR }}
|
||||||
|
|
||||||
@@ -167,6 +177,16 @@ jobs:
|
|||||||
version: ${{ env.GODOT_VERSION }}
|
version: ${{ env.GODOT_VERSION }}
|
||||||
use-dotnet: false
|
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
|
- name: Create build directory
|
||||||
run: mkdir -p ${{ env.BUILD_DIR }}
|
run: mkdir -p ${{ env.BUILD_DIR }}
|
||||||
|
|
||||||
@@ -219,6 +239,16 @@ jobs:
|
|||||||
version: ${{ env.GODOT_VERSION }}
|
version: ${{ env.GODOT_VERSION }}
|
||||||
use-dotnet: false
|
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
|
- name: Create build directory
|
||||||
run: mkdir -p ${{ env.BUILD_DIR }}
|
run: mkdir -p ${{ env.BUILD_DIR }}
|
||||||
|
|
||||||
@@ -280,12 +310,14 @@ jobs:
|
|||||||
version: ${{ env.GODOT_VERSION }}
|
version: ${{ env.GODOT_VERSION }}
|
||||||
use-dotnet: false
|
use-dotnet: false
|
||||||
|
|
||||||
- name: Setup Android export templates
|
- name: Install export templates
|
||||||
run: |
|
run: |
|
||||||
echo "📱 Setting up Android export templates..."
|
echo "📦 Installing Godot export templates..."
|
||||||
# Download Android export templates
|
mkdir -p ~/.local/share/godot/export_templates/${{ env.GODOT_VERSION }}.stable
|
||||||
mkdir -p ~/.local/share/godot/export_templates/${{ env.GODOT_VERSION }}
|
wget -q https://github.com/godotengine/godot/releases/download/${{ env.GODOT_VERSION }}-stable/Godot_v${{ env.GODOT_VERSION }}-stable_export_templates.tpz
|
||||||
# Templates will be automatically downloaded by Godot during export
|
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
|
- name: Create build directory
|
||||||
run: mkdir -p ${{ env.BUILD_DIR }}
|
run: mkdir -p ${{ env.BUILD_DIR }}
|
||||||
|
|||||||
Reference in New Issue
Block a user