This commit is contained in:
@@ -13,74 +13,10 @@ jobs:
|
|||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Debug project
|
|
||||||
run: |
|
|
||||||
echo "=== PWD ==="
|
|
||||||
pwd
|
|
||||||
|
|
||||||
echo "=== FILES ==="
|
|
||||||
ls -la
|
|
||||||
|
|
||||||
echo "=== project.godot ==="
|
|
||||||
find . -maxdepth 3 -name project.godot -print
|
|
||||||
|
|
||||||
echo "=== export_presets.cfg ==="
|
|
||||||
find . -maxdepth 3 -name export_presets.cfg -print
|
|
||||||
|
|
||||||
echo "=== Android directory ==="
|
|
||||||
find . -maxdepth 2 -type d -name android -print
|
|
||||||
|
|
||||||
- name: Check Android preset
|
|
||||||
run: |
|
|
||||||
echo "=== export_presets.cfg ==="
|
|
||||||
cat export_presets.cfg
|
|
||||||
|
|
||||||
echo "=== Gradle settings ==="
|
|
||||||
grep -n -E 'gradle_build|custom_template' export_presets.cfg || true
|
|
||||||
|
|
||||||
echo "=== Android directory ==="
|
|
||||||
ls -la android 2>/dev/null || true
|
|
||||||
|
|
||||||
- name: Godot version
|
- name: Godot version
|
||||||
run: |
|
run: |
|
||||||
godot --version
|
godot --version
|
||||||
|
|
||||||
- name: Check export templates
|
|
||||||
run: |
|
|
||||||
ls -lh /root/.local/share/godot/export_templates/4.6.stable/
|
|
||||||
test -f /root/.local/share/godot/export_templates/4.6.stable/android_release.apk
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# - name: Godot export check
|
|
||||||
|
|
||||||
# run: |
|
|
||||||
# godot \
|
|
||||||
# --headless \
|
|
||||||
# --path . \
|
|
||||||
# --export-release "Android" \
|
|
||||||
# /tmp/test.apk
|
|
||||||
|
|
||||||
|
|
||||||
- name: Godot export check
|
|
||||||
run: |
|
|
||||||
mkdir -p build
|
|
||||||
|
|
||||||
godot \
|
|
||||||
--headless \
|
|
||||||
--verbose \
|
|
||||||
--path . \
|
|
||||||
--export-release "Android" \
|
|
||||||
build/app.apk
|
|
||||||
|
|
||||||
- name: Check build
|
|
||||||
if: always()
|
|
||||||
run: |
|
|
||||||
echo "=== BUILD ==="
|
|
||||||
ls -lah build 2>/dev/null || true
|
|
||||||
|
|
||||||
|
|
||||||
# ---
|
|
||||||
- name: Build APK
|
- name: Build APK
|
||||||
run: |
|
run: |
|
||||||
mkdir -p build
|
mkdir -p build
|
||||||
@@ -96,10 +32,6 @@ jobs:
|
|||||||
test -f build/app.apk
|
test -f build/app.apk
|
||||||
ls -lh build/app.apk
|
ls -lh build/app.apk
|
||||||
|
|
||||||
- name: Check APK
|
|
||||||
run: |
|
|
||||||
ls -lh build/app.apk
|
|
||||||
|
|
||||||
- name: Upload APK
|
- name: Upload APK
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user