immersive-home/.github/workflows/build-debug.yml

30 lines
689 B
YAML
Raw Normal View History

2023-11-20 13:32:42 +02:00
# Build the Android APK on push to the master branch
name: Build APK
on:
push:
branches:
- main
env:
EXPORT_NAME: immersive-home
jobs:
build:
runs-on: ubuntu-20.04
container:
2023-11-20 13:34:59 +02:00
image: barichello/godot-ci:4.1.3
2023-11-20 13:32:42 +02:00
steps:
- name: Checkout
uses: actions/checkout@v2
with:
lfs: true
- name: Android Export
run: |
mkdir -v -p build/android
godot -v --export-debug --headless "Android" /build/android/${EXPORT_NAME}-debug.apk
- name: Upload APK
uses: actions/upload-artifact@v1
with:
name: ${EXPORT_NAME}-debug
path: build/android/${EXPORT_NAME}-debug.apk