immersive-home/.github/workflows/build-debug.yml
2023-11-20 14:04:17 +01:00

40 lines
1.1 KiB
YAML

# Build the Android APK on push to the master branch
name: Build APK
on:
push:
branches:
- main
- testing
env:
GODOT_VERSION: 4.1.3
EXPORT_NAME: immersive-home
jobs:
build:
runs-on: ubuntu-20.04
container:
image: barichello/godot-ci:4.1.3
steps:
- name: Checkout
uses: actions/checkout@v2
with:
lfs: true
- name: Setup
run: |
mkdir -v -p ~/.local/share/godot/templates
mv /root/.local/share/godot/templates/4.1.3.stable ~/.local/share/godot/templates/4.1.3.stable
ls -l ~/.local/share/godot/templates
ls -l ~/.local/share/godot/templates/4.1.3.stable
- name: Android Export
run: |
mkdir -v -p /build/android
godot -v --export-debug --debug-collisions --headless "Android" /build/android/immersive-home.apk
ls -l .
ls -l /build/android
- name: Upload APK
uses: actions/upload-artifact@v2
with:
name: immersive-home-debug
path: /build/android/immersive-home.apk