Skip to content

Commit e79122e

Browse files
committed
Inline Android template deployment script
1 parent 10fc159 commit e79122e

File tree

2 files changed

+10
-74
lines changed

2 files changed

+10
-74
lines changed

.github/actions/prepare-testing/action.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,16 @@ runs:
122122
- name: Deploy Android build template
123123
if: inputs.android == 'true'
124124
shell: bash
125-
run: ./scripts/deploy-android-template.sh $GODOT_VERSION
125+
run: |
126+
# Download Godot templates
127+
archive_file=Godot_v${GODOT_VERSION}_export_templates.tpz
128+
url=https://github.com/godotengine/godot-builds/releases/download/${GODOT_VERSION}/${archive_file}
129+
echo "Downloading templates from: $url"
130+
curl -L -o templates.zip "${url}"
131+
132+
echo "Extracting Android source template..."
133+
unzip -j templates.zip templates/android_source.zip -d exports/
134+
rm templates.zip
126135
127136
- name: Prepare project
128137
shell: bash

scripts/deploy-android-template.sh

Lines changed: 0 additions & 73 deletions
This file was deleted.

0 commit comments

Comments
 (0)